aboutsummaryrefslogtreecommitdiff
path: root/justfile
blob: db5bd05c8bbfa5e70fa0e699e09c3b5e0e89d4b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
TEMPDIR := `mktemp -d`

build:
    CGO=0 go build -o go-git-server cmd/main.go

test:
    golangci-lint run
    go test -v -coverprofile={{ TEMPDIR }}/testcover.out ./...
    go tool cover -func={{ TEMPDIR }}/testcover.out

debug-test:
    dlv test -- -test.v