nicolaferraro closed pull request #14: add clean and dep target to Makefile
URL: https://github.com/apache/camel-k/pull/14
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.gitignore b/.gitignore
index 4456437..0565637 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
*.iml
.project
.metadata
+.gopath
# Temporary Build Files
tmp/_output
diff --git a/build/Makefile b/build/Makefile
index eb1a16c..e229a1d 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -14,6 +14,15 @@ build-embed-resources:
build-runtime:
mvn clean install -f ./runtime/pom.xml
+dep:
+ dep ensure -v
+
+clean:
+ mvn clean -f ./runtime/pom.xml
+ go clean
+ rm -f camel-k-operator
+ rm -f kamel
+
codegen:
./tmp/codegen/update-generated.sh
@@ -46,4 +55,6 @@ require-kubeconfig:
else
require-kubeconfig:
@echo "KUBERNETES_CONFIG set"
-endif
\ No newline at end of file
+endif
+
+.PHONY: build build-operator build-kamel build-embed-resources build-runtime
dep codegen images images-build images-push test check test-integration
check-integration clean
\ No newline at end of file
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services