Files
frps-panel/Makefile
2023-09-17 11:41:12 +08:00

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