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
|
CLI_FILES=cli.lisp
|
||||||
WEB_FILES=web.lisp
|
WEB_FILES=web.lisp
|
||||||
|
|
||||||
all: cli
|
all: cli web
|
||||||
|
|
||||||
cli: truth-table
|
cli: truth-table
|
||||||
truth-table: build.lisp truth-table.asd $(BASE_FILES) $(CLI_FILES)
|
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)'
|
$(SBCL) --load build.lisp --eval '(web)'
|
||||||
|
|
||||||
clean:
|
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 ()
|
(defun cli ()
|
||||||
"Build the CLI application executable."
|
"Build the CLI application executable."
|
||||||
(sb-ext:disable-debugger)
|
(sb-ext:disable-debugger)
|
||||||
|
#+quicklisp
|
||||||
|
(ql:quickload :truth-table/cli)
|
||||||
|
#-quicklisp
|
||||||
(asdf:load-system :truth-table/cli)
|
(asdf:load-system :truth-table/cli)
|
||||||
(require :truth-table/cli)
|
(require :truth-table/cli)
|
||||||
(sb-ext:save-lisp-and-die
|
(sb-ext:save-lisp-and-die
|
||||||
@@ -20,6 +23,9 @@
|
|||||||
(defun web ()
|
(defun web ()
|
||||||
"Build web CLI application executable."
|
"Build web CLI application executable."
|
||||||
(sb-ext:disable-debugger)
|
(sb-ext:disable-debugger)
|
||||||
|
#+quicklisp
|
||||||
|
(ql:quickload :truth-table/web)
|
||||||
|
#-quicklisp
|
||||||
(asdf:load-system :truth-table/web)
|
(asdf:load-system :truth-table/web)
|
||||||
(require :truth-table/web)
|
(require :truth-table/web)
|
||||||
(sb-ext:save-lisp-and-die
|
(sb-ext:save-lisp-and-die
|
||||||
|
|||||||
Reference in New Issue
Block a user