summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-08-14 21:24:54 -0700
committerMike Crute <mike@crute.us>2023-08-14 21:24:54 -0700
commit0b12194c52d0af5eb5339cb96905d86d175d6a12 (patch)
tree573ddd5c61899ae12d829465d4cf262843a24a03 /Makefile
parent746e5d91e7c23fe702040cfb5b10b60d7537dbfa (diff)
downloadwebsocket_proxy-0b12194c52d0af5eb5339cb96905d86d175d6a12.tar.bz2
websocket_proxy-0b12194c52d0af5eb5339cb96905d86d175d6a12.tar.xz
websocket_proxy-0b12194c52d0af5eb5339cb96905d86d175d6a12.zip
Support indexing clients
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" \