This commit is contained in:
2025-02-05 10:53:26 +08:00
commit 2bd71ae7c0
10 changed files with 786 additions and 0 deletions

9
build.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -x
BIN="ddns-namesilo"
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ${BIN}-linux-arm64 -a -ldflags '-extldflags "-static"'
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ${BIN}-linux-amd64 -a -ldflags '-extldflags "-static"'