mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 20:52:33 +02:00
6 lines
247 B
Bash
Executable file
6 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
|