Skip to content

Commit

Permalink
change script to use qlot
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Sep 23, 2023
1 parent 995d2c1 commit b0e166e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 55 deletions.
13 changes: 5 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
LISP ?= ${shell which sbcl}

build-ncurses:
$(LISP) --load scripts/patch-build-ncurses.lisp
qlot exec $(LISP) --load scripts/build-ncurses.lisp

build-sdl2:
$(LISP) --load scripts/patch-build-sdl2.lisp
qlot exec $(LISP) --load scripts/build-sdl2.lisp

test:
$(LISP) --load scripts/launch-tests.lisp
qlot exec $(LISP) --load scripts/launch-tests.lisp

generate-doc:
$(LISP) --load scripts/generate-documentation-tests.lisp --eval '(progn (lem-documentation-mode/tests::generate-markdown-file "test.md" :test) (quit))'

update-submodules:
git submodule update --remote
qlot exec $(LISP) --load scripts/generate-documentation-tests.lisp --eval '(progn (lem-documentation-mode/tests::generate-markdown-file "test.md" :test) (quit))'

update:
git pull
git submodule update --init --recursive
qlot install
2 changes: 2 additions & 0 deletions scripts/build-ncurses.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(ql:quickload :lem-ncurses)
(asdf:make :lem/executable)
2 changes: 2 additions & 0 deletions scripts/build-sdl2.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(ql:quickload :lem-sdl2)
(asdf:make :lem-sdl2/executable)
20 changes: 0 additions & 20 deletions scripts/build.lisp

This file was deleted.

2 changes: 0 additions & 2 deletions scripts/launch-tests.lisp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
(load "scripts/patch.lisp")

(ql:quickload :lem-tests)

(rove:run :lem-tests)
Expand Down
7 changes: 0 additions & 7 deletions scripts/patch-build-ncurses.lisp

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/patch-build-sdl2.lisp

This file was deleted.

10 changes: 0 additions & 10 deletions scripts/patch.lisp

This file was deleted.

0 comments on commit b0e166e

Please sign in to comment.