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:
13
makefile
13
makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user