cleanup makefile and remove script, allow running as non-root user

This commit is contained in:
yusing
2025-01-22 05:42:56 +08:00
parent 3a4dc3f876
commit 3781bb93e1
3 changed files with 50 additions and 42 deletions

View File

@@ -1,6 +0,0 @@
#!/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