go.mway.dev/math@v0.3.4-0.20220903004814-3c8fcf9df0ca/justfile (about) 1 #!/usr/bin/env just --justfile 2 3 default: 4 @just --list | grep -v default 5 6 tidy: 7 go mod tidy 8 9 test PKG="./..." *ARGS="": 10 go test -v -race -failfast -count 1 -coverprofile cover.out {{ PKG }} {{ ARGS }} 11 12 alias benchmark := bench 13 14 bench PKG="./..." *ARGS="": 15 go test -v -count 1 -run xx -bench . {{ PKG }} {{ ARGS }} 16 17 lint PKG="./...": 18 golangci-lint run --new=false {{ PKG }} 19 20 push *ARGS: test lint 21 git push origin