-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathjustfile
More file actions
56 lines (42 loc) · 663 Bytes
/
Copy pathjustfile
File metadata and controls
56 lines (42 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
alias r := run
alias b := build
alias t := test
alias f := fmt
alias i := install
alias c := check
alias l := lint
alias up := upgrade
alias upt := upgradet
alias ti := tidy
alias v := vuln
alias us := update-snapshots
@default:
just --choose
@all:
just fmt
just check
just test
run:
go run .
build:
go build -ldflags "-w -s" .
test:
go test ./...
fmt:
gofumpt -l -w .
install:
go install .
check:
golangci-lint run
lint:
golangci-lint run
upgrade:
go get -u ./...
upgradet:
go get -t -u ./...
tidy:
go mod tidy
vuln:
govulncheck ./...
update-snapshots $UPDATE_SNAPS='true':
just test