summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-17 11:52:03 -0600
committermo khan <mo@mokhan.ca>2025-06-17 11:52:03 -0600
commit1396c4e251a2bf9eb8c8c22bd4bc25f847f38775 (patch)
treec6ae0cbc1e6f3ab464547914068e1416324d7a61 /Makefile
parentc1606e1851c28160266a8f43cc77d22bf4a8913e (diff)
feat: create sts binary and run it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 07d65fb..6af1771 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,11 @@ bin/authzd:
bin/sparkled:
@go build -o ./bin/sparkled ./cmd/sparkled/main.go
+bin/sts:
+ @go build -o ./bin/sts ./cmd/sts/main.go
+
clean:
- @rm -f ./bin/authzd ./bin/sparkled
+ @rm -f ./bin/authzd ./bin/sparkled ./bin/sts
@go clean -testcache
setup:
@@ -28,7 +31,7 @@ setup:
@echo "Installing Python dependencies..."
pip install dumb-init
-build: bin/authzd bin/sparkled
+build: bin/authzd bin/sparkled bin/sts
test-unit:
@go test -shuffle=on ./...
@@ -62,6 +65,9 @@ run-envoy:
run-sparkled: clean build
@go tool godotenv -f .env.local,.env ./bin/sparkled
+run-sts: clean build
+ @go tool godotenv -f .env.local,.env ./bin/sts
+
sh-image: build-builder-image
@docker run --rm -it $(IMAGE_TAG) /bin/sh