mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-18 09:27:17 +01:00
7 lines
247 B
Bash
Executable File
7 lines
247 B
Bash
Executable File
#!/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
|