diff --git a/dist/GoBot-mac b/dist/GoBot-mac new file mode 100755 index 0000000..206b92a Binary files /dev/null and b/dist/GoBot-mac differ diff --git a/dist/sounds/arf.dca b/dist/sounds/arf.dca new file mode 100644 index 0000000..10056d2 Binary files /dev/null and b/dist/sounds/arf.dca differ diff --git a/makefile b/makefile index 41a244c..0ecc969 100644 --- a/makefile +++ b/makefile @@ -1,18 +1,20 @@ -run: clean linux copyconfig - @./dist/GoBot-linux +run: + go run ./src/main.go + +linux: + go build -o ./dist/GoBot-linux ./src/main.go + +mac: + GOOS=darwin GOARCH=amd64 go build -o ./dist/GoBot-mac ./src/main.go 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 + GOOS=windows GOARCH=386 go build -o ./dist/GoBot-windows.exe ./src/main.go clean: - @rm -rf ./dist + rm -rf ./dist copyconfig: - @cp config.template.json ./dist/config.json - @cp -r ./sounds ./dist/ + cp config.template.json ./dist/config.json + cp -r ./sounds ./dist/ -all: windows linux copyconfig - \ No newline at end of file +all: linux mac windows copyconfig diff --git a/sounds/arf.dca b/sounds/arf.dca new file mode 100644 index 0000000..10056d2 Binary files /dev/null and b/sounds/arf.dca differ