1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-10 09:02:49 +00:00

major file refactor - fix disconnecting bug

This commit is contained in:
2017-06-30 20:23:05 -05:00
parent 03fa82b2a2
commit de6332e89c
39 changed files with 73 additions and 28 deletions

View File

@@ -1,20 +1,16 @@
run:
go run ./server/main.go
go run ./main.go
install:
go get ./server && yarn install
go get && cd client && yarn install
build:
go build -o ./dist/bot ./server/main.go
build-server:
go build -o bot ./main.go
build-client:
cd client && yarn run build
clean:
rm -rf ./dist
rm -rf bot ./dist
copyfiles:
cp config.template.json ./dist/config.template.json
cp ffmpeg_linux ./dist/
cp ffmpeg_mac ./dist/
cp ffmpeg_windows.exe ./dist/
all: install build copyfiles
yarn run build
all: install build-server build-client