mirror of
https://github.com/mgerb/ServerStatus
synced 2026-01-09 18:52:50 +00:00
16 lines
294 B
Makefile
16 lines
294 B
Makefile
run:
|
|
@go run ./src/main.go
|
|
|
|
linux:
|
|
@go build -o ./dist/ServerStatus-linux ./src/main.go
|
|
|
|
windows:
|
|
@GOOS=windows GOARCH=386 go build -o ./dist/ServerStatus-windows.exe ./src/main.go
|
|
|
|
clean:
|
|
@rm -rf ./dist
|
|
|
|
copyfiles:
|
|
@cp config.template.json ./dist/config.json
|
|
|
|
all: linux windows copyfiles |