aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2025-07-20 22:13:40 -0700
committerMax Resnick <max@ofmax.li>2025-07-20 22:13:40 -0700
commit207cd111d62eafe48a114eb505eb1cf3bf166cf2 (patch)
treecba4f0716370677345e40d1b7491dd0da6b53ba5
parentc27ace9c8558ab5b9b933e41146932e6160521ae (diff)
downloadgo-git-server-hook-events-lifecycle.tar.gz
feat: update some test datahook-events-lifecycle
-rw-r--r--justfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/justfile b/justfile
index c58f166..31c1971 100644
--- a/justfile
+++ b/justfile
@@ -92,11 +92,11 @@ docker-push registry=DEFAULT_REGISTRY:
run repo=(TEMPDIR):
git clone --bare mgmt {{repo}}/mgmt.git
- go run cmd/main.go -a -r {{repo}}
+ TMPDIR={{TEMPDIR}} go run cmd/main.go -a -r {{repo}}
test:
golangci-lint run
- TMPDIR=$PWD/testdata go test -v -coverprofile={{ TEMPDIR }}/testcover.out ./...
+ TMPDIR={{TEMPDIR}} go test -v -coverprofile={{ TEMPDIR }}/testcover.out ./...
go tool cover -func={{ TEMPDIR }}/testcover.out
debug-test pkg func: