summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-21 15:25:38 -0600
committermo khan <mo@mokhan.ca>2025-07-21 15:25:38 -0600
commit7862db222e75ed69601f58bb65eed5291b692272 (patch)
tree2572e44e1deeec8ac645bff7ffa5fdfc8848285a /Makefile
parent2ddcc34ca455973598f5693d64103deea41d8d79 (diff)
chore: switch to mise.toml
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 1 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 0872ee3..26cce23 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ clean:
@go clean -testcache
setup:
- @MISE_CONFIG_FILE=.tool-versions MISE_GLOBAL_CONFIG_FILE="" mise install
+ @mise install
@go mod tidy
@go mod vendor
@go tool
@@ -40,30 +40,12 @@ test: clean test-unit test-integration
build-image:
@docker build --network=host --no-cache --tag $(IMAGE_TAG) .
-build-builder-image:
- @docker build --target build --tag $(IMAGE_TAG) .
-
run: clean build
@go tool godotenv -f .env.local,.env go tool minit
-run-authzd: clean build
- @go tool godotenv -f .env.local,.env ./bin/authzd
-
run-image: clean build-image
@docker run --rm --network host --env-file .env.local -p 10000:10000 -p 9901:9901 -p 8080:8080 -it $(IMAGE_TAG)
-run-envoy:
- @go tool godotenv -f .env.local,.env ./bin/envoy.sh
-
-run-sparkled: clean build
- @go tool godotenv -f .env.local,.env ./bin/sparkled
-
-sh-image: build-builder-image
- @docker run --rm -it $(IMAGE_TAG) /bin/sh
-
-authzd-rpc-check:
- @go tool grpcurl -plaintext -format text -d '' 127.0.0.1:10003 envoy.service.auth.v3.Authorization.Check
-
lint:
@go tool yamlfmt --lint -exclude vendor .