aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2022-12-21 22:06:29 -0800
committerMike Crute <mike@crute.us>2022-12-21 22:06:29 -0800
commited1504c2826f6a5d406dd72e51f5a90b77ffea45 (patch)
tree159733ceaf63026d36c39117fff6159e6247bed7 /Makefile
parente5629fb163c7cf303438afc5be6075299cfc6071 (diff)
downloadcloud-identity-broker-ed1504c2826f6a5d406dd72e51f5a90b77ffea45.tar.bz2
cloud-identity-broker-ed1504c2826f6a5d406dd72e51f5a90b77ffea45.tar.xz
cloud-identity-broker-ed1504c2826f6a5d406dd72e51f5a90b77ffea45.zip
Upgrade to latest golib
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6bdfb3c..c45bb6c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
1IMAGE=docker.crute.me/aws-access 1IMAGE=docker.crute.me/aws-access
2BINARY=cloud-identity-broker 2BINARY=cloud-identity-broker
3 3
4$(BINARY): main.go $(shell find . -name '*.go') 4$(BINARY): $(shell find . -name '*.go') go.mod
5 go build -ldflags "-X main.appVersion=$(shell git describe --long --tags --dirty --always)" -o $@ $< 5 CGO_ENABLED=0 go build \
6 -ldflags "-X main.appVersion=$(shell git describe --long --tags --dirty --always)" \
7 -o $@
6 8
7.PHONY: vet 9.PHONY: vet
8vet: main.go 10vet: main.go
@@ -34,7 +36,6 @@ run-web: clean $(BINARY)
34 test -n "$(VAULT_SECRET_ID)" # Caller must also export VAULT_SECRET_ID 36 test -n "$(VAULT_SECRET_ID)" # Caller must also export VAULT_SECRET_ID
35 VAULT_ADDR="$(VAULT_ADDR)" \ 37 VAULT_ADDR="$(VAULT_ADDR)" \
36 ./$(BINARY) --debug \ 38 ./$(BINARY) --debug \
37 --mongodb-uri="$(MONGODB_URL)" \ 39 --hostname=dev.aws-access.crute.me \
38 --mongodb-vault-path="$(MONGODB_VAULT_PATH)" \ 40 --issuer-endpoint="https://dev.aws-access.crute.me" \
39 --github-oauth-vault-path="$(GITHUB_VAULT_PATH)" \
40 web 41 web