This repository was archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (39 loc) · 1.24 KB
/
Makefile
File metadata and controls
48 lines (39 loc) · 1.24 KB
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
make:
go build -o bin/goat
ql:
go build -tags='ql' -o bin/goat
fmt:
go fmt
go fmt github.com/mdlayher/goat/goat
go fmt github.com/mdlayher/goat/goat/api
go fmt github.com/mdlayher/goat/goat/common
go fmt github.com/mdlayher/goat/goat/data
go fmt github.com/mdlayher/goat/goat/data/udp
go fmt github.com/mdlayher/goat/goat/tracker
golint .
errcheck goat
errcheck goat/api
errcheck goat/common
errcheck goat/data
errcheck goat/data/udp
errcheck goat/tracker
test:
go test github.com/mdlayher/goat/goat
go test github.com/mdlayher/goat/goat/api
go test github.com/mdlayher/goat/goat/common
go test github.com/mdlayher/goat/goat/data
go test -tags='ql' github.com/mdlayher/goat/goat/data
go test github.com/mdlayher/goat/goat/data/udp
go test github.com/mdlayher/goat/goat/tracker
darwin_386:
GOOS="darwin" GOARCH="386" go build -o bin/goat_darwin_386
darwin_amd64:
GOOS="darwin" GOARCH="amd64" go build -o bin/goat_darwin_amd64
linux_386:
GOOS="linux" GOARCH="386" go build -o bin/goat_linux_386
linux_amd64:
GOOS="linux" GOARCH="amd64" go build -o bin/goat_linux_amd64
windows_386:
GOOS="windows" GOARCH="386" go build -o bin/goat_windows_386.exe
windows_amd64:
GOOS="windows" GOARCH="amd64" go build -o bin/goat_windows_amd64.exe