1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-11 09:32:50 +00:00

work in progress - about to refactor how sounds are played

This commit is contained in:
2017-02-03 16:06:31 +00:00
parent 819afb3d2a
commit 0d3756fe54
34 changed files with 5947 additions and 60 deletions

View File

@@ -1,20 +1,21 @@
run:
go run ./src/main.go
go run ./server/main.go
linux:
go build -o ./dist/GoBot-linux ./src/main.go
go build -o ./dist/GoBot-linux ./server/main.go
mac:
GOOS=darwin GOARCH=amd64 go build -o ./dist/GoBot-mac ./src/main.go
GOOS=darwin GOARCH=amd64 go build -o ./dist/GoBot-mac ./server/main.go
windows:
GOOS=windows GOARCH=386 go build -o ./dist/GoBot-windows.exe ./src/main.go
GOOS=windows GOARCH=386 go build -o ./dist/GoBot-windows.exe ./server/main.go
clean:
rm -rf ./dist
copyconfig:
copyfiles:
cp config.template.json ./dist/config.template.json
cp -r ./sounds ./dist/
cp ./dca-rs ./dist/
all: linux mac windows copyconfig
all: linux mac windows copyfiles