-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (18 loc) · 738 Bytes
/
Makefile
File metadata and controls
23 lines (18 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
LISP ?= sbcl
# increase space size for prod
# it's a runtime option that must come before lisp options.
LISP_FLAGS ?= --dynamic-space-size 6000 --end-runtime-options --non-interactive
USERINIT ?= /home/$(USER)/.sbclrc # for Systemd.
deps:
git clone https://github.com/mmontone/cl-sentry-client/ ~/quicklisp/local-projects/cl-sentry-client
build:
$(LISP) $(LISP_FLAGS) --load abstock.asd \
--eval '(ql:quickload :abstock)' \
--eval '(asdf:make :abstock)' \
--eval '(quit)'
# for Systemd
rund:
rlwrap $(LISP) $(LISP_FLAGS) --userinit $(USERINIT) --load run.lisp --eval '(in-package :abstock)'
# from sources
run:
rlwrap $(LISP) $(LISP_FLAGS) --userinit $(USERINIT) --load run.lisp --eval '(in-package :abstock)'