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

changes for public use

This commit is contained in:
2017-03-27 18:46:03 -05:00
committed by mgerb42
parent 39861a62bc
commit 1626bdddcd
25 changed files with 58 additions and 2789 deletions

View File

@@ -1,20 +1,18 @@
run:
go run ./server/main.go
linux:
go build -o ./dist/GoBot-linux ./server/main.go
mac:
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -o ./dist/GoBot-mac ./server/main.go
install:
go get ./server && yarn install
build:
go build -o ./dist/GoBot ./server/main.go
windows:
CGO_ENABLED=1 GOOS=windows GOARCH=386 go build -o ./dist/GoBot-windows.exe ./server/main.go
clean:
rm -rf ./dist
copyfiles:
cp config.template.json ./dist/config.template.json
cp ffmpeg ./dist/ffmpeg
all: linux copyfiles
all: install build copyfiles
yarn run build