You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
785 B
Makefile
29 lines
785 B
Makefile
##
|
|
# Project Title
|
|
#
|
|
# @file
|
|
# @version 0.1
|
|
|
|
src = $(shell find web -type f -iname *.clj 2>/dev/null)
|
|
|
|
darklimericks.jar: $(src)
|
|
cd web && clj -A:depstar -M:depstar -m hf.depstar.uberjar \
|
|
darklimericks.jar -C -m com.darklimericks.server.core
|
|
|
|
FORCE:
|
|
|
|
build: FORCE
|
|
cd web && clj -A:depstar -M:depstar -m hf.depstar.uberjar \
|
|
darklimericks.jar -C -m com.darklimericks.server.core
|
|
|
|
push: FORCE
|
|
rsync -aP web/darklimericks.jar root@darklimericks.com:/root/darklimericks/web/
|
|
rsync -P rotate-cert.sh root@darklimericks.com:/root/darklimericks/
|
|
rsync -P darklimericks.service root@darklimericks.com:/etc/systemd/system/
|
|
|
|
certs:
|
|
ssh root@darklimericks.com \
|
|
certbot certonly -d darklimericks.com \
|
|
--webroot --webroot-path /root/darklimericks/web/resources/public --keep
|
|
# end
|