update build files and dependencies

This commit is contained in:
yusing
2025-01-05 03:16:59 +08:00
parent 55134c8426
commit e04080bf1c
6 changed files with 28 additions and 85 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/sh
mkdir -p bin
BUILD_FLAGS="${BUILD_FLAGS} -X github.com/yusing/go-proxy/pkg.version=${VERSION}"
echo building GoDoxy version "${VERSION}", build flags \""${BUILD_FLAGS}"\"
go build -ldflags "${BUILD_FLAGS}" -pgo=auto -o bin/godoxy ./cmd