mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-11 09:32:50 +00:00
working on audio clip sound bot
This commit is contained in:
17
makefile
Normal file
17
makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
run: clean linux copyconfig
|
||||
@./dist/GoBot-linux
|
||||
|
||||
windows:
|
||||
@GOOS=windows GOARCH=386 go build -o ./dist/GoBot-windows.exe ./src/main.go
|
||||
|
||||
linux:
|
||||
@go build -o ./dist/GoBot-linux ./src/main.go
|
||||
|
||||
clean:
|
||||
@rm -rf ./dist
|
||||
|
||||
copyconfig:
|
||||
@cp config.template.json ./dist/config.json
|
||||
|
||||
build: clean windows linux copyconfig
|
||||
|
||||
Reference in New Issue
Block a user