Add makefile target to build the example apps.
Update the makefile to add the build.exampleapps target that will
build the example helloworld and bookinfo apps.
@@ -107,7 +107,7 @@ precommit: format verify
#---------
#-- build
#---------
-.PHONY: build build.registry build.controller build.sidecar build.k8srules build.cli.linux build.cli.darwin build.cli.windows build.testapps compile clean
+.PHONY: build build.registry build.controller build.sidecar build.k8srules build.cli.linux build.cli.darwin build.cli.windows build.testapps build.exampleapps compile clean
build: build.registry build.controller build.sidecar build.k8srules build.cli.linux
@@ -157,6 +157,11 @@ build.testapps:
@echo "--> building test apps for integration testing"
@testing/build-scripts/build-apps.sh
+build.exampleapps:
+ @echo "--> building example apps"
+ @examples/apps/helloworld/build-services.sh
+ @examples/apps/bookinfo/build-services.sh
+
compile:
@echo "--> compiling packages"
@go build $(GOPKGS)
