-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
executable file
·31 lines (21 loc) · 1.03 KB
/
justfile
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
#!/usr/bin/env just --justfile
update:
go get -u
go mod tidy -v
buildProxy:
go build -o bin/proxy ./proxy
buildProxyLinux $CGO_ENABLED="0":
GOOS=linux GOARCH=amd64 go build -o bin/proxy-linux-amd64 ./proxy
GOOS=linux GOARCH=arm64 go build -o bin/proxy-linux-arm64 ./proxy
buildProxyDispatcher:
go build -o bin/proxy-dispatcher ./proxy-dispatcher
buildProxyDispatcherLinux $CGO_ENABLED="0":
GOOS=linux GOARCH=amd64 go build -o bin/proxy-dispatcher-linux-amd64 ./proxy-dispatcher
GOOS=linux GOARCH=arm64 go build -o bin/proxy-dispatcher-linux-arm64 ./proxy-dispatcher
buildFingerprintServer:
go build -o bin/fingerprint-server ./fingerprint-server
buildFingerprintServerLinux $CGO_ENABLED="0":
GOOS=linux GOARCH=amd64 go build -o bin/fingerprint-server-linux-amd64 ./fingerprint-server
GOOS=linux GOARCH=arm64 go build -o bin/fingerprint-server-linux-arm64 ./fingerprint-server
buildAll: buildProxy buildProxyDispatcher buildFingerprintServer
buildAllLinux: buildProxyDispatcherLinux buildProxyLinux buildFingerprintServerLinux