1
0
mirror of https://github.com/mgerb/ServerStatus synced 2026-01-10 19:22:49 +00:00

added mac binaries

This commit is contained in:
2017-01-18 21:23:55 +00:00
parent c03184e422
commit d2d9b08f8c
5 changed files with 11 additions and 8 deletions

Binary file not shown.

BIN
dist/ServerStatus-mac vendored Executable file

Binary file not shown.

Binary file not shown.

View File

@@ -1,16 +1,19 @@
run: run:
@go run ./src/main.go go run ./src/main.go
linux: 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: 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: clean:
@rm -rf ./dist rm -rf ./dist
copyfiles: copyfiles:
@cp config.template.json ./dist/config.json cp config.template.json ./dist/config.json
all: linux windows copyfiles all: linux mac windows copyfiles

View File

@@ -6,8 +6,8 @@ This bot will send a chat notification when the status of a server changes.
## Configuration ## Configuration
- Download or Clone the repository - Download or Clone the repository
- Add your bot token and room ID to the config.json file in the dist folder - Add your bot token and room ID to the config.json in the dist folder
- Execute the Windows or Linux binary! - Execute the correct binary according to your operating system!
### How to get the bot token ### How to get the bot token
https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token