.PHONY: all .PHONY: build .PHONY: install .PHONY: run all: build build: build/craft-bot build/craft-bot: *.go go build -o build/craft-bot *.go install: build mkdir -p /usr/local/craft-bot install build/craft-bot /usr/local/craft-bot/ install craft-bot.service /etc/systemd/system/craft-bot.service systemctl daemon-reload run: build ./build/craft-bot -c config.json