make deploy reliable using Go (#74)

This commit is contained in:
Jesse Hallam 2019-11-20 18:16:23 -04:00 committed by Ben Schumacher
parent 4d9ee39eb2
commit 8e090661e8
5 changed files with 142 additions and 19 deletions

View file

@ -7,6 +7,9 @@ endif
# Ensure that the build tools are compiled. Go's caching makes this quick.
$(shell cd build/manifest && $(GO) build -o ../bin/manifest)
# Ensure that the deployment tools are compiled. Go's caching makes this quick.
$(shell cd build/deploy && $(GO) build -o ../bin/deploy)
# Extract the plugin id from the manifest.
PLUGIN_ID ?= $(shell build/bin/manifest id)
ifeq ($(PLUGIN_ID),)