This repository has been archived on 2023-10-05. You can view files and clone it, but cannot push or open issues or pull requests.
friday-bot/Makefile

20 lines
368 B
Makefile

SYSTEM_NAME = friday-bot
define LISP_CMDS
"(handler-case \
(progn (ql:quickload :SYSTEM) \
(asdf:make :SYSTEM)) \
(error (e) \
(format t \"~A~%\" e) \
(uiop:quit 1)))"
endef
CMDS = --eval $(subst SYSTEM,$(SYSTEM_NAME),$(LISP_CMDS))
.PHONY: clean all
all:
ros $(CMDS)
clean:
rm -ri bin/