File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,33 +8,33 @@ build: build-ui
8
8
9
9
# build for Apple's OSX 64
10
10
build-osx : build-ui
11
- GOOS=darwin GOARCH=amd64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
11
+ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
12
12
13
13
# build for Apple's OSX 64 with Apple Chip
14
14
build-osx-arm : build-ui
15
- GOOS=darwin GOARCH=arm64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
15
+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
16
16
17
17
# build for Linux 64
18
18
build-linux : build-ui
19
19
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags ' -s -w' -o tob github.com/telkomdev/tob/cmd/tob
20
20
21
21
# build for Windows 64
22
22
build-win : build-ui
23
- GOOS=windows GOARCH=amd64 go build -ldflags ' -s -w' -o tob.exe github.com/telkomdev/tob/cmd/tob
23
+ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags ' -s -w' -o tob.exe github.com/telkomdev/tob/cmd/tob
24
24
25
25
# Tob HTTP Agent
26
26
27
27
# build for Apple's OSX 64
28
28
build-http-agent-osx :
29
- GOOS=darwin GOARCH=amd64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
29
+ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
30
30
31
31
# build for Apple's OSX 64
32
32
build-http-agent-osx-arm :
33
- GOOS=darwin GOARCH=arm64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
33
+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
34
34
35
35
# build for Linux 64
36
36
build-http-agent-linux :
37
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
37
+ CGO_ENABLED=0 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags ' -s -w' -o tob-http-agent github.com/telkomdev/tob/cmd/tob-http-agent
38
38
39
39
test :
40
40
go test ./...
You can’t perform that action at this time.
0 commit comments