This commit is contained in:
6
makefile
6
makefile
@ -1,4 +1,7 @@
|
||||
.PHONY: all
|
||||
.PHONY: build
|
||||
.PHONY: install
|
||||
.PHONY: run
|
||||
|
||||
all: build
|
||||
|
||||
@ -12,3 +15,6 @@ install: build
|
||||
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
|
Reference in New Issue
Block a user