Compare commits
3 Commits
2ba02e821e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
5c73f19177
|
|||
|
def2caadd1
|
|||
|
7bbbadaf3c
|
6
Makefile
6
Makefile
@@ -5,7 +5,7 @@ arguments.lisp
|
||||
CLI_FILES=cli.lisp
|
||||
WEB_FILES=web.lisp
|
||||
|
||||
all: cli
|
||||
all: cli web
|
||||
|
||||
cli: truth-table
|
||||
truth-table: build.lisp truth-table.asd $(BASE_FILES) $(CLI_FILES)
|
||||
@@ -16,6 +16,6 @@ truth-table-web-server: build.lisp truth-table.asd $(BASE_FILES) $(WEB_FILES)
|
||||
$(SBCL) --load build.lisp --eval '(web)'
|
||||
|
||||
clean:
|
||||
rm -f truth-table
|
||||
rm -f truth-table truth-table-web-server
|
||||
|
||||
.PHONY: all cli clean
|
||||
.PHONY: all cli web clean
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
(defun cli ()
|
||||
"Build the CLI application executable."
|
||||
(sb-ext:disable-debugger)
|
||||
#+quicklisp
|
||||
(ql:quickload :truth-table/cli)
|
||||
#-quicklisp
|
||||
(asdf:load-system :truth-table/cli)
|
||||
(require :truth-table/cli)
|
||||
(sb-ext:save-lisp-and-die
|
||||
@@ -20,6 +23,9 @@
|
||||
(defun web ()
|
||||
"Build web CLI application executable."
|
||||
(sb-ext:disable-debugger)
|
||||
#+quicklisp
|
||||
(ql:quickload :truth-table/web)
|
||||
#-quicklisp
|
||||
(asdf:load-system :truth-table/web)
|
||||
(require :truth-table/web)
|
||||
(sb-ext:save-lisp-and-die
|
||||
|
||||
Reference in New Issue
Block a user