aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-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: