aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--justfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/justfile b/justfile
index f4037b1..8043e7e 100644
--- a/justfile
+++ b/justfile
@@ -1,4 +1,4 @@
-TEMPDIR := `mktemp -d`
+TEMPDIR := `mktemp -d -p $(pwd)`
BUILDDIR := "_build"
ALL_VERSIONS := BUILDDIR / "ALL_VERSIONS"
NEW_VERSION := BUILDDIR / "NEW_VERSION"
@@ -96,7 +96,7 @@ run repo=(TEMPDIR):
test:
golangci-lint run
- go test -v -coverprofile={{ TEMPDIR }}/testcover.out ./...
+ TMPDIR=$PWD/testdata go test -v -coverprofile={{ TEMPDIR }}/testcover.out ./...
go tool cover -func={{ TEMPDIR }}/testcover.out
debug-test pkg func: