yammerbot/Makefile

22 lines
716 B
Makefile
Raw Normal View History

2021-01-17 22:41:42 -05:00
GOFILES=main.go mumble.go discord.go bridge.go config.go handlers.go
2020-10-29 02:21:07 -04:00
mumble-discord-bridge: $(GOFILES)
2021-01-09 18:18:31 -05:00
goreleaser build --skip-validate --rm-dist
dev: $(GOFILES)
goreleaser build --skip-validate --rm-dist && sudo ./dist/mumble-discord-bridge_linux_amd64/mumble-discord-bridge
2021-01-16 14:06:58 -05:00
dev-profile: $(GOFILES)
goreleaser build --skip-validate --rm-dist && sudo ./dist/mumble-discord-bridge_linux_amd64/mumble-discord-bridge -cpuprofile cpu.prof
docker-latest:
docker build -t stieneee/mumble-discord-bridge:latest .
2021-01-17 22:41:42 -05:00
docker-next:
docker build -t stieneee/mumble-discord-bridge:next .
docker push stieneee/mumble-discord-bridge:next
clean:
2020-11-08 17:58:08 -05:00
rm -f mumble-discord-bridge
2021-01-17 22:41:42 -05:00
.PHONY: docker-latest docker-latest-push clean