-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.cmd
86 lines (72 loc) · 1.62 KB
/
build.cmd
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
@echo off
title SakuraDDNS build
echo Building Windows x64...
set CGO_ENABLED=0
set GOOS=windows
set GOARCH=amd64
go build -o=SakuraDDNS_windows_amd64.exe
echo Building Windows x32...
set CGO_ENABLED=0
set GOOS=windows
set GOARCH=386
go build -o=SakuraDDNS_windows_386.exe
echo Building Linux x64...
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=amd64
go build -o=SakuraDDNS_linux_amd64
echo Building Linux x32...
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=386
go build -o=SakuraDDNS_linux_386
echo Building Linux arm...
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=arm
go build -o=SakuraDDNS_linux_arm
echo Building Linux mips x64...
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=mips64
set GOMIPS=softfloat
go build -o=SakuraDDNS_linux_mips64
echo Building Linux mips x32...
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=mips
set GOMIPS=softfloat
go build -o=SakuraDDNS_linux_mips
echo Building Linux mipsle x64...
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=mips64le
set GOMIPS=softfloat
go build -o=SakuraDDNS_linux_mips64le
echo Building Linux mipsle x32...
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=mipsle
set GOMIPS=softfloat
go build -o=SakuraDDNS_linux_mipsle
echo Building FreeBSD x64...
set CGO_ENABLED=0
set GOOS=freebsd
set GOARCH=amd64
go build -o=SakuraDDNS_freebsd_amd64
echo Building FreeBSD x32...
set CGO_ENABLED=0
set GOOS=freebsd
set GOARCH=386
go build -o=SakuraDDNS_freebsd_386
echo Building Darwin x64...
set CGO_ENABLED=0
set GOOS=darwin
set GOARCH=amd64
go build -o=SakuraDDNS_darwin_amd64
echo Building Darwin x32...
set CGO_ENABLED=0
set GOOS=darwin
set GOARCH=386
go build -o=SakuraDDNS_darwin_386
echo Build completed.