1- SBCL_CMD := sbcl --noinform --disable-debugger --load
1+ SBCL_CMD := sbcl --noinform --disable-debugger --load scripts/fix-quicklisp.lisp --load
22OBJECTS := lisp-inference
33DOCKER_IMG = lisp-inference
44VERSION := latest
@@ -8,23 +8,23 @@ all: $(OBJECTS)
88
99
1010$(OBJECTS ) : src/* .lisp
11- $(SBCL_CMD ) build.lisp
11+ $(SBCL_CMD ) scripts/ build.lisp
1212
1313
1414check :
15- @$(SBCL_CMD ) run-test.lisp
15+ @$(SBCL_CMD ) scripts/ run-test.lisp
1616
1717
1818server :
19- @$(SBCL_CMD ) run-server.lisp
19+ @$(SBCL_CMD ) scripts/ run-server.lisp
2020
2121docs-worktree :
2222 @if [ ! -d docs ]; then \
2323 git worktree add docs gh-pages -f; \
2424 fi
2525
2626docs : docs-worktree
27- @$(SBCL_CMD ) run-docs.lisp
27+ @$(SBCL_CMD ) scripts/ run-docs.lisp
2828
2929docs-publish :
3030 cd docs/ && git add . && git commit -m " Auto-generated commit from make docs-publish" && git push || true
@@ -39,10 +39,13 @@ docker-run: docker-build
3939 docker run --rm -it --network=host $(DOCKER_IMG )
4040
4141docker-docs : docker-build docs-worktree
42- docker run --rm -t -v $(PWD ) /docs:/root/.roswell/local-projects/local/lisp-inference/docs --entrypoint=ros $(DOCKER_IMG ) run -l run-docs.lisp
42+ docker run --rm -t \
43+ -v $(PWD ) /docs:/root/.roswell/local-projects/local/lisp-inference/docs \
44+ --entrypoint =ros $(DOCKER_IMG ) \
45+ run -l scripts/fix-quicklisp.lisp -l run-docs.lisp
4346
4447docker-check : docker-build
45- docker run --rm -t --entrypoint=ros $(DOCKER_IMG ) run -l run-test.lisp
48+ docker run --rm -t --entrypoint=ros $(DOCKER_IMG ) run -l scripts/fix-quicklisp.lisp -l scripts/ run-test.lisp
4649
4750docker-publish : docker-build
4851 docker tag $(DOCKER_IMG ) $(PUBLIC_IMG )
0 commit comments