mirror of
https://gitlab.com/vindarel/ciel.git
synced 2025-12-15 14:51:16 -08:00
70 lines
2.5 KiB
Makefile
70 lines
2.5 KiB
Makefile
LISP ?= sbcl
|
|
|
|
all: build
|
|
|
|
# Install some Quicklisp dependencies.
|
|
ql-deps:
|
|
# 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
|
|
|
|
# 2024-08: Moira needs moira/light, added <2023-11-23 Thu>, not on Quicklisp…
|
|
# moira/light doesn't depend on Osicat.
|
|
git clone https://github.com/ruricolist/moira/ ~/quicklisp/local-projects/moira
|
|
|
|
# 2024-08: simple progress bar, not in Quicklisp.
|
|
git clone https://github.com/vindarel/progressons ~/quicklisp/local-projects/progressons
|
|
|
|
# termp, little utility
|
|
git clone https://github.com/vindarel/termp ~/quicklisp/local-projects/termp
|
|
|
|
# 2024-08: not in Quicklisp
|
|
git clone https://github.com/lisp-maintainers/file-finder ~/quicklisp/local-projects/file-finder
|
|
|
|
# <2024-08-30> error with SBCL: Lock on package SB-DI violated…
|
|
# fixed https://github.com/Shinmera/dissect/issues/18 on March, 2024 (not in Quicklisp…)
|
|
git clone https://github.com/Shinmera/dissect/ ~/quicklisp/local-projects/dissect
|
|
|
|
# fix fset on latest SBCL
|
|
# "Lock on package SB-EXT violated when interning ONCE-ONLY while in package FSET"
|
|
# see https://github.com/slburson/fset/pull/46
|
|
git clone https://gitlab.common-lisp.net/misc-extensions/misc-extensions ~/quicklisp/local-projects/misc-extensions
|
|
git clone https://github.com/slburson/fset/ ~/quicklisp/local-projects/fset
|
|
|
|
# Install some system dependencies.
|
|
debian-deps:
|
|
apt-get install -y libinotifytools0
|
|
|
|
macos-deps:
|
|
echo "please install 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/
|