Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Makefile to work on enviroments which Quicklisp isn't installed in user-home #1110

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ LISP ?= ${shell which sbcl}

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

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

test:
qlot install
qlot exec .qlot/bin/rove lem-tests.asd
.qlot/bin/rove lem-tests.asd

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

update:
git pull
qlot install

lint:
qlot exec .qlot/bin/sblint src/base/lem-base.asd
qlot exec .qlot/bin/sblint lem.asd
qlot exec .qlot/bin/sblint lib/lisp-syntax/lem-lisp-syntax.asd
qlot exec .qlot/bin/sblint extensions/lisp-mode/lem-lisp-mode.asd
.qlot/bin/sblint src/base/lem-base.asd
.qlot/bin/sblint lem.asd
.qlot/bin/sblint lib/lisp-syntax/lem-lisp-syntax.asd
.qlot/bin/sblint extensions/lisp-mode/lem-lisp-mode.asd
Comment on lines +24 to +27
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not necessary to run scripts under .qlot/bin after qlot exec because Qlot takes care of them.