mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-10 09:02:49 +00:00
19 lines
281 B
Makefile
19 lines
281 B
Makefile
run:
|
|
go run ./server/main.go
|
|
|
|
install:
|
|
go get ./server && yarn install
|
|
|
|
build:
|
|
go build -o ./dist/bot ./server/main.go
|
|
|
|
clean:
|
|
rm -rf ./dist
|
|
|
|
copyfiles:
|
|
cp config.template.json ./dist/config.template.json
|
|
cp ffmpeg ./dist/ffmpeg
|
|
|
|
all: install build copyfiles
|
|
yarn run build
|