Skip to content

Commit

Permalink
update justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoisaiah committed Aug 15, 2024
1 parent c6ec6e2 commit a1f2613
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
APP := "f2"

test:
@go test ./... --json -coverprofile=coverage.out -coverpkg .
@go test ./... --json -coverprofile=coverage.out -coverpkg . | gotestfmt -hide 'empty-packages'

[no-cd]
test-pkg:
@go test --json -coverprofile=coverage.out -coverpkg=../ | gotestfmt
test-pkg filter='.*':
@go test --json -coverprofile=coverage.out -coverpkg=../ -run={{filter}} | gotestfmt

[no-cd]
update-golden:
@go test --update --json | gotestfmt
update-golden filter='.*':
@go test --update --json -run={{filter}} | gotestfmt

build:
@go build -o bin/{{APP}} ./cmd...
Expand Down

0 comments on commit a1f2613

Please sign in to comment.