1
0
mirror of https://github.com/mgerb/ServerStatus synced 2026-03-05 00:45:24 +00:00

more adjustments

This commit is contained in:
2017-01-16 06:42:28 +01:00
parent c39c2b67e1
commit d9d7bf58dd
8 changed files with 10 additions and 8 deletions

View File

@@ -1,5 +1,8 @@
all:
run:
@go run ./src/main.go
build:
@rm -rf ./dist
@GOOS=windows GOARCH=386 go build -o ./dist/ServerStatus-windows.exe main.go
@go build -o ./dist/ServerStatus-linux main.go
@GOOS=windows GOARCH=386 go build -o ./dist/ServerStatus-windows.exe ./src/main.go
@go build -o ./dist/ServerStatus-linux ./src/main.go
@cp config.template.json ./dist/config.json