github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/integration/assets/test_plugin_v7/Makefile (about) 1 GOSRC = $(shell find . -name "*.go" ! -name "*test.go" ! -name "*fake*" ! -path "./integration/*") 2 3 LD_FLAGS_LINUX_V7 = -extldflags \"-static\" 4 5 export GOFLAGS = -tags=V7 6 7 build: out/test_plugin_v7 8 9 clean: 10 rm -rf out 11 12 out/test_plugin_v7: $(GOSRC) 13 CGO_ENABLED=0 go build \ 14 -tags "V7" \ 15 -ldflags "$(LD_FLAGS_LINUX_V7)" -o out/test_plugin_v7 . 16 17 install: build 18 cf install-plugin -f out/test_plugin_v7 19 cf plugins