mirror of
https://github.com/mgerb/ServerStatus
synced 2026-01-11 03:32:50 +00:00
added mac binaries
This commit is contained in:
BIN
dist/ServerStatus-linux
vendored
BIN
dist/ServerStatus-linux
vendored
Binary file not shown.
BIN
dist/ServerStatus-mac
vendored
Executable file
BIN
dist/ServerStatus-mac
vendored
Executable file
Binary file not shown.
BIN
dist/ServerStatus-windows.exe
vendored
BIN
dist/ServerStatus-windows.exe
vendored
Binary file not shown.
15
makefile
15
makefile
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user