mirror of
https://gitlab.com/vindarel/ciel.git
synced 2026-01-15 22:01:01 -08:00
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
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
|
|
|
|
# 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/
|