Update flax
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 23 Mar 2018 23:36:08 -0400 |
parents |
3e57244fd53c |
children |
5db3d9b9894b |
.PHONY: vendor binary clean deploy update-deps force-binary
# Vendor ----------------------------------------------------------------------
vendor/quickutils.lisp: vendor/make-quickutils.lisp
cd vendor && sbcl --noinform --load make-quickutils.lisp --eval '(quit)'
vendor: vendor/quickutils.lisp
# Clean -----------------------------------------------------------------------
clean:
rm -rf bin
# Build -----------------------------------------------------------------------
lisps := $(shell ffind '\.(asd|lisp|ros)$$')
binary: bin/magitek
force-binary:
rm -f bin/magitek
sbcl --load "src/build.lisp"
bin/magitek: $(lisps)
force-binary
# Deploy ----------------------------------------------------------------------
# Server
update-deps:
hg -R /home/sjl/lib/cl-losh -v pull -u
hg -R /home/sjl/lib/chancery -v pull -u
hg -R /home/sjl/lib/flax -v pull -u
hg -R /home/sjl/lib/cl-pcg -v pull -u
# Local
deploy:
rsync --exclude=bin --exclude=.hg --exclude=database.sqlite --exclude='*.fasl' --exclude='*.png' --exclude='*.pnm' -avz . jam:/home/sjl/src/magitek
ssh jam make -C /home/sjl/src/magitek update-deps force-binary