forked from andreaskoch/allmark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
16 lines (13 loc) · 657 Bytes
/
Copy pathMakefile
File metadata and controls
16 lines (13 loc) · 657 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
build:
go build -o bin/files/allmark ./cli
install:
go build -o bin/files/allmark ./cli
test:
go test ./cli ./common/... ./dataaccess/... ./model/... ./services/... ./web/...
crosscompile:
GOOS=linux GOARCH=amd64 go build -o bin/files/allmark_linux_amd64 ./cli
GOOS=linux GOARCH=arm GOARM=5 go build -o bin/files/allmark_linux_arm_5 ./cli
GOOS=linux GOARCH=arm GOARM=6 go build -o bin/files/allmark_linux_arm_6 ./cli
GOOS=linux GOARCH=arm GOARM=7 go build -o bin/files/allmark_linux_arm_7 ./cli
GOOS=darwin GOARCH=amd64 go build -o bin/files/allmark_darwin_amd64 ./cli
GOOS=windows GOARCH=amd64 go build -o bin/files/allmark_windows_amd64 ./cli