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

added ffmpeg binaries for mac/windows

This commit is contained in:
2017-06-28 22:57:09 -05:00
parent f9247c5417
commit eacdc51874
10 changed files with 82 additions and 17 deletions

View File

@@ -2,17 +2,19 @@ run:
go run ./server/main.go
install:
go get ./server && yarn install
glide install && yarn install
build:
go build -o ./dist/bot ./server/main.go
go build -o ./dist/linux ./server/main.go
clean:
rm -rf ./dist
copyfiles:
cp config.template.json ./dist/config.template.json
cp ffmpeg ./dist/ffmpeg
cp ffmpeg_linux ./dist/
cp ffmpeg_mac ./dist/
cp ffmpeg_windows.exe ./dist/
all: install build copyfiles
yarn run build