aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/justfile b/justfile
index a4b40cd..89f0424 100644
--- a/justfile
+++ b/justfile
@@ -97,6 +97,9 @@ test:
go test -v -coverprofile={{ TEMPDIR }}/testcover.out ./...
go tool cover -func={{ TEMPDIR }}/testcover.out
+debug-test pkg func:
+ dlv test {{pkg}} -- -test.v -test.run {{func}}
+
debug-run:
dlv debug cmd/main.go -- -s {{justfile_directory()}}/gitserver.yaml -r {{ TEMPDIR }} -t tokens.csv -p policy.csv -m auth_model.ini -a
@@ -124,5 +127,5 @@ local-cluster:
local-cluster-clean:
k3d cluster delete go-git-cluster
-debug-test pkg func:
- dlv test {{pkg}} -- -test.v -test.run {{func}}
+
+