mirror of
https://github.com/mgerb/ServerStatus
synced 2026-03-05 00:45:24 +00:00
added mac binaries
This commit is contained in:
15
makefile
15
makefile
@@ -1,16 +1,19 @@
|
||||
run:
|
||||
@go run ./src/main.go
|
||||
go run ./src/main.go
|
||||
|
||||
linux:
|
||||
@go build -o ./dist/ServerStatus-linux ./src/main.go
|
||||
go build -o ./dist/ServerStatus-linux ./src/main.go
|
||||
|
||||
mac:
|
||||
GOOS=darwin GOARCH=amd64 go build -o ./dist/ServerStatus-mac ./src/main.go
|
||||
|
||||
windows:
|
||||
@GOOS=windows GOARCH=386 go build -o ./dist/ServerStatus-windows.exe ./src/main.go
|
||||
GOOS=windows GOARCH=386 go build -o ./dist/ServerStatus-windows.exe ./src/main.go
|
||||
|
||||
clean:
|
||||
@rm -rf ./dist
|
||||
rm -rf ./dist
|
||||
|
||||
copyfiles:
|
||||
@cp config.template.json ./dist/config.json
|
||||
cp config.template.json ./dist/config.json
|
||||
|
||||
all: linux windows copyfiles
|
||||
all: linux mac windows copyfiles
|
||||
Reference in New Issue
Block a user