You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
354 B

all: linux
linux:
go build .
install:
cp slack-bot /usr/local/bin/
cp env.template /etc/slackbot.env
systemd-install:
cp systemd/slackbot.service /lib/systemd/system/
systemctl daemon-reload
systemd-uninstall:
rm -Rf /lib/systemd/system/slackbot.service
systemctl daemon-reload
uninstall:
rm -Rf /usr/local/bin/slack-bot
clean:
rm -Rf slack-bot