mirror of
https://github.com/yhl452493373/frps-panel.git
synced 2026-04-04 06:16:59 +08:00
14 lines
309 B
Makefile
14 lines
309 B
Makefile
export GO111MODULE=on
|
|
export CGO_ENABLED=0
|
|
export GOOS=linux
|
|
export GOARCH=amd64
|
|
|
|
build: frps-panel
|
|
cp ./config/frps-panel.toml ./bin/frps-panel.toml
|
|
cp ./config/frps-tokens.toml ./bin/frps-tokens.toml
|
|
cp -r ./assets/ ./bin/assets/
|
|
|
|
frps-panel:
|
|
rm -rf ./bin
|
|
go build -o ./bin/frps-panel ./cmd/frps-panel
|