mirror of
https://github.com/mgerb/ServerStatus
synced 2026-01-09 02:52:47 +00:00
20 lines
365 B
Makefile
20 lines
365 B
Makefile
run:
|
|
go run ./src/main.go
|
|
|
|
linux:
|
|
go build -o ./dist/ServerStatus-linux ./main.go
|
|
|
|
mac:
|
|
GOOS=darwin GOARCH=amd64 go build -o ./dist/ServerStatus-mac ./main.go
|
|
|
|
windows:
|
|
GOOS=windows GOARCH=386 go build -o ./dist/ServerStatus-windows.exe ./main.go
|
|
|
|
clean:
|
|
rm -rf ./dist
|
|
|
|
copyfiles:
|
|
cp config.template.json ./dist/config.json
|
|
|
|
all: linux mac windows copyfiles
|