This commit is contained in:
Alex Dadgar 2017-10-31 14:52:01 -07:00
parent 51f869040f
commit cc5a4041ec
1 changed files with 3 additions and 3 deletions

View File

@ -198,18 +198,18 @@ dev: ## Build for the current development platform
@rm -f $(GOPATH)/bin/nomad
@$(MAKE) --no-print-directory \
$(DEV_TARGET) \
GO_TAGS="nomad_test $(NOMAD_UI_TAG)"
GO_TAGS=nomad_test $(NOMAD_UI_TAG)
@mkdir -p $(PROJECT_ROOT)/bin
@mkdir -p $(GOPATH)/bin
@cp $(PROJECT_ROOT)/$(DEV_TARGET) $(PROJECT_ROOT)/bin/
@cp $(PROJECT_ROOT)/$(DEV_TARGET) $(GOPATH)/bin
.PHONY: prerelease
prerelease: GO_TAGS="ui"
prerelease: GO_TAGS=ui
prerelease: check generate ember-dist static-assets ## Generate all the static assets for a Nomad release
.PHONY: release
release: GO_TAGS="ui"
release: GO_TAGS=ui
release: clean $(foreach t,$(ALL_TARGETS),pkg/$(t).zip) ## Build all release packages which can be built on this platform.
@echo "==> Results:"
@tree --dirsfirst $(PROJECT_ROOT)/pkg