Separate out ui handler under build tag (#170)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-07-07 16:57:54 -07:00
1 parent c44a4c4795
commit 8987d8d435
4 files changed
+84 -61

No files matched your search

+2 -1
View File
@@ -22,8 +22,9 @@ cleangen:
@rm -f ${GENERATED_CODE}
dev: BUILD_TAGS+=dev
dev: BUILD_TAGS+=ui
dev: build-ui-ifne
@echo "==> Building Watchtower with dev features enabled"
@echo "==> Building Watchtower with dev and UI features enabled"
@CGO_ENABLED=$(CGO_ENABLED) BUILD_TAGS='$(BUILD_TAGS)' WATCHTOWER_DEV_BUILD=1 sh -c "'$(CURDIR)/scripts/build.sh'"
build-ui: