Split out Makefile targets
BUILD_TYPE?=build
# Everything; this is the default behavior
-all: format shield plugins test
+all: format shieldd buckler shield-agent shield-schema plugins test
# go fmt ftw
format:
@@ -26,14 +26,15 @@ race:
ginkgo -race *
# Building Shield
-shield: shield-cli
+shield: shieldd shield-agent shield-schema buckler
+
+shieldd:
go $(BUILD_TYPE) ./cmd/shieldd
+shield-agent:
go $(BUILD_TYPE) ./cmd/shield-agent
+shield-schema:
go $(BUILD_TYPE) ./cmd/shield-schema
-# Building the Shield CLI *only*
-shield-cli: buckler
-
buckler: cmd/buckler/help.go
go $(BUILD_TYPE) ./cmd/buckler
help.all: cmd/buckler/main.go
@@ -116,4 +117,4 @@ web2/htdocs/shield.js: $(JAVASCRIPTS)
web2: web2/htdocs/shield.js
-.PHONY: shield plugins dev web2 buckler
+.PHONY: shield plugins dev web2 buckler shieldd shield-schema shield-agent
