-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (36 loc) · 950 Bytes
/
Makefile
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
gobuild:
go build
run:
./goapropos --findpkg fmt print
#./goapropos --basepath /usr/share/go-1.18/src --find args --all=false
rundebugtest:
./goapropos --debug 12 --test args
#./goapropos --basepath /usr/share/go-1.18/src --find args --all=false --debug 12 --test=true
createcache:
./goapropos --autocache=false --createcache
allpkgssymbols:
./goapropos --findpkg . --find .
goclean:
go clean
gofmt:
go fmt
gorun:
go run goapropos --test=true
gotest:
go test
go test -test.run Ma -test.v
gotestpkgbasepath:
./goapropos --autocache=false --createcache
go test -test.run Pkg
go test -test.run NONE -test.bench Pkg
./goapropos --findpkg fmt print
gobenchmark:
go test -test.run NONE -test.bench .
samples:
./goapropos fmt
./goapropos --find numcpu
./goapropos --findpkg fmt
./goapropos --findcmt "type 'x'"
./goapropos --findcmt "type flags for"
./goapropos --findcmt "type flags"
./goapropos --findcmt "uid and gid"