slackbot/justfile

11 lines
267 B
Makefile

version := `cat VERSION`
push: build
scp ./build/libs/slackmemes-{{version}}-all.jar anthonycicchetti.com:/home/slackbot/slackbot.jar
ssh anthonycicchetti.com "service slackbot restart"
build:
./gradlew shadowJar
print_version:
@echo "{{version}}"