-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (22 loc) · 910 Bytes
/
Makefile
File metadata and controls
29 lines (22 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.PHONY: test sb-cover quickload build-image test-image install-quicklisp help
.DEFAULT_GOAL := help
LISP ?= sbcl
test: ## runs test suites
scripts/run-tests.sh
sb-cover: ## collects code coverage using `:sb-cover`
sbcl --noinform --non-interactive \
--load scripts/load-asd.lisp \
--load scripts/sb-cover.lisp
quickload: ## quickloads the system in advance
scripts/quickload.sh
build-image: ## builds docker image
docker buildx build --tag elderica/dezero-naive:test .
test-image: ## runs test suites in docker container with bind mount
docker run -it --rm \
--mount type=bind,source=$(shell pwd),target=/root/common-lisp/dezero-naive \
elderica/dezero-naive:test \
test
install-quicklisp: ## installs Quicklisp
scripts/install-quicklisp.sh
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'