This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
48 lines (39 loc) · 2.2 KB
/
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
build:
rm -rf out
mkdir out
GOOS=darwin GOARCH=amd64 go build -o captcha-lite .
tar -czf out/captcha-lite-darwin-amd64.tar.gz captcha-lite LICENSE README.md
rm captcha-lite
sha256sum out/captcha-lite-darwin-amd64.tar.gz > out/captcha-lite-darwin-amd64.tar.gz.sha256sum
GOOS=darwin GOARCH=arm64 go build -o captcha-lite .
tar -czf out/captcha-lite-darwin-arm64.tar.gz captcha-lite LICENSE README.md
rm captcha-lite
sha256sum out/captcha-lite-darwin-arm64.tar.gz > out/captcha-lite-darwin-arm64.tar.gz.sha256sum
GOOS=linux GOARCH=386 go build -o captcha-lite .
tar -czf out/captcha-lite-linux-386.tar.gz captcha-lite LICENSE README.md
rm captcha-lite
sha256sum out/captcha-lite-linux-386.tar.gz > out/captcha-lite-linux-386.tar.gz.sha256sum
GOOS=linux GOARCH=amd64 go build -o captcha-lite .
tar -czf out/captcha-lite-linux-amd64.tar.gz captcha-lite LICENSE README.md
rm captcha-lite
sha256sum out/captcha-lite-linux-amd64.tar.gz > out/captcha-lite-linux-amd64.tar.gz.sha256sum
GOOS=linux GOARCH=arm go build -o captcha-lite .
tar -czf out/captcha-lite-linux-arm.tar.gz captcha-lite LICENSE README.md
rm captcha-lite
sha256sum out/captcha-lite-linux-arm.tar.gz > out/captcha-lite-linux-arm.tar.gz.sha256sum
GOOS=linux GOARCH=arm64 go build -o captcha-lite .
tar -czf out/captcha-lite-linux-arm64.tar.gz captcha-lite LICENSE README.md
rm captcha-lite
sha256sum out/captcha-lite-linux-arm64.tar.gz > out/captcha-lite-linux-arm64.tar.gz.sha256sum
GOOS=windows GOARCH=386 go build -o captcha-lite.exe .
zip out/captcha-lite-windows-386.zip captcha-lite.exe LICENSE README.md
rm captcha-lite.exe
sha256sum out/captcha-lite-windows-386.zip > out/captcha-lite-windows-386.zip.sha256sum
GOOS=windows GOARCH=amd64 go build -o captcha-lite.exe .
zip out/captcha-lite-windows-amd64.zip captcha-lite.exe LICENSE README.md
rm captcha-lite.exe
sha256sum out/captcha-lite-windows-amd64.zip > out/captcha-lite-windows-amd64.zip.sha256sum
GOOS=windows GOARCH=arm go build -o captcha-lite.exe .
zip out/captcha-lite-windows-arm.zip captcha-lite.exe LICENSE README.md
rm captcha-lite.exe
sha256sum out/captcha-lite-windows-arm.zip > out/captcha-lite-windows-arm.zip.sha256sum