Updated makefile to include shield-migrate
BUILD_TYPE?=build
# Everything; this is the default behavior
-all: format shieldd shield shield-agent shield-schema shield-crypt plugins test
+all: format shieldd shield shield-agent shield-schema shield-migrate shield-crypt plugins test
# go fmt ftw
format:
@@ -36,6 +36,8 @@ shield-agent:
go $(BUILD_TYPE) ./cmd/shield-agent
shield-schema:
go $(BUILD_TYPE) ./cmd/shield-schema
+shield-migrate:
+ go $(BUILD_TYPE) ./cmd/shield-migrate
shield: cmd/shield/help.go
go $(BUILD_TYPE) ./cmd/shield
@@ -110,6 +112,7 @@ release:
go build -ldflags="$(LDFLAGS)" -o "$(ARTIFACTS)/agent/shield-agent" ./cmd/shield-agent
go build -ldflags="$(LDFLAGS)" -o "$(ARTIFACTS)/cli/shield" ./cmd/shield
CGO_ENABLED=1 go build -ldflags="$(LDFLAGS)" -o "$(ARTIFACTS)/daemon/shield-schema" ./cmd/shield-schema
+ CGO_ENABLED=1 go build -ldflags="$(LDFLAGS)" -o "$(ARTIFACTS)/daemon/shield-migrate" ./cmd/shield-migrate
CGO_ENABLED=1 go build -ldflags="$(LDFLAGS)" -o "$(ARTIFACTS)/daemon/shieldd" ./cmd/shieldd
rm -f artifacts/*.tar.gz
