summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 161c8ab..2c12471 100644
--- a/Makefile
+++ b/Makefile
@@ -52,13 +52,16 @@ publish-prod:
52 docker tag $(IMAGE):stage $(IMAGE):latest 52 docker tag $(IMAGE):stage $(IMAGE):latest
53 docker push $(IMAGE):latest 53 docker push $(IMAGE):latest
54 54
55.PHONY: clean-server
56clean-server:
57 rm $(SERVER_BINARY) || true
58
55.PHONY: clean 59.PHONY: clean
56clean: 60clean: clean-server
57 rm -rf docker clients || true 61 rm -rf docker clients || true
58 rm $(SERVER_BINARY) || true
59 62
60.PHONY: run-web 63.PHONY: run-web
61run-web: clean $(SERVER_BINARY) 64run-web: clean-server $(SERVER_BINARY)
62 test -n "$(VAULT_ROLE_ID)" # Caller must export VAULT_ROLE_ID 65 test -n "$(VAULT_ROLE_ID)" # Caller must export VAULT_ROLE_ID
63 test -n "$(VAULT_SECRET_ID)" # Caller must also export VAULT_SECRET_ID 66 test -n "$(VAULT_SECRET_ID)" # Caller must also export VAULT_SECRET_ID
64 VAULT_ADDR="https://vault.sea4.crute.me:8200" \ 67 VAULT_ADDR="https://vault.sea4.crute.me:8200" \