mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-11 01:22:48 +00:00
changes for public use
This commit is contained in:
16
makefile
16
makefile
@@ -1,20 +1,18 @@
|
||||
run:
|
||||
go run ./server/main.go
|
||||
|
||||
linux:
|
||||
go build -o ./dist/GoBot-linux ./server/main.go
|
||||
|
||||
mac:
|
||||
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -o ./dist/GoBot-mac ./server/main.go
|
||||
install:
|
||||
go get ./server && yarn install
|
||||
|
||||
build:
|
||||
go build -o ./dist/GoBot ./server/main.go
|
||||
|
||||
windows:
|
||||
CGO_ENABLED=1 GOOS=windows GOARCH=386 go build -o ./dist/GoBot-windows.exe ./server/main.go
|
||||
|
||||
clean:
|
||||
rm -rf ./dist
|
||||
|
||||
copyfiles:
|
||||
cp config.template.json ./dist/config.template.json
|
||||
cp ffmpeg ./dist/ffmpeg
|
||||
|
||||
all: linux copyfiles
|
||||
all: install build copyfiles
|
||||
yarn run build
|
||||
|
||||
Reference in New Issue
Block a user