From 5054cd34c92c6c5d5ff4f8b8a6488c4ab1395f4b Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Sun, 25 May 2025 22:18:03 -0700 Subject: chore: linting, add tmp dir for tests --- justfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'justfile') diff --git a/justfile b/justfile index 077e7b2..cebdd7a 100644 --- a/justfile +++ b/justfile @@ -7,8 +7,10 @@ install: install bumpver $HOME/.local/bin test: + mkdir -p testdata + yamlfmt -lint . 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 release part: build -- cgit v1.2.3