/
Makefile
54 lines (44 loc) · 1.7 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
LISP ?= sbcl
all: build
# Install some Quicklisp dependencies.
ql-deps:
# 2023-03: we want str:ensure-suffix, not yet in Quicklisp.
git clone https://github.com/vindarel/cl-str/ ~/quicklisp/local-projects/cl-str
# 2023-05: log4cl doesn't compile on SBCL v2.3.4
# See issue https://github.com/ciel-lang/CIEL/issues/24
# This has been fixed upstream, not yet in Quicklisp
git clone https://github.com/sharplispers/log4cl ~/quicklisp/local-projects/log4cl
# 2023-11: The symbol SB-INT:TRULY-DYNAMIC-EXTENT is absent since at least
# SBCL v2.3.10, which was required in older versions of cl-environments
# and cl-form-types.
# See issue https://github.com/ciel-lang/CIEL/issues/38
# This has been fixed upstream, not yet in Quicklisp
git clone https://github.com/alex-gutev/cl-environments ~/quicklisp/local-projects/cl-environments
git clone https://github.com/alex-gutev/cl-form-types ~/quicklisp/local-projects/cl-form-types
# Install some system dependencies.
debian-deps:
apt-get install -y libmagic-dev libinotifytools0
macos-deps:
echo "fsevent (for file-notify)"
run:
$(LISP) --load ciel.asd \
--eval '(asdf:load-system :ciel)' \
--eval '(in-package:ciel-user)'
image:
$(LISP) --load build-image.lisp
build:
$(LISP) --non-interactive \
--eval '(ql:quickload :deploy)' \
--eval '(ql:quickload "cl+ssl")' \
--load ciel.asd \
--load build-config.lisp \
--eval '(ql:quickload :swank)' \
--eval '(push :deploy-console *features*)' \
--eval '(ql:quickload :ciel)' \
--eval '(ql:quickload :ciel/repl)' \
--eval '(asdf:make :ciel/repl)' \
--eval '(quit)'
gen-dependencies-list:
./find-dependencies.lisp > docs/dependencies.md
serve-docs:
docsify serve docs/