-
Notifications
You must be signed in to change notification settings - Fork 4
/
makefile
44 lines (33 loc) · 1.13 KB
/
makefile
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Run the unit tests
.PHONY: test
test:
scripts/test.sh
# Generate the documentation
.PHONY: doc
doc:
scripts/doc.sh
DOCKER_BUILD := DOCKER_BUILDKIT=1 docker build --progress=plain
.PHONY: build-within-container
build-within-container:
$(DOCKER_BUILD) --target=$(TARGET) --output type=local,dest=$(or $(DEST),.) . 2>&1 | tee $(TARGET).log
# Generate the documentation. in a docker
dependencies.core: Dockerfile breeze.asd scripts/load-dependencies.lisp
$(MAKE) build-within-container TARGET=dependencies.core
.PHONY: integration
integration: dependencies.core
$(MAKE) build-within-container TARGET=integration-tests DEST=public
.PHONY: public
public: dependencies.core
$(MAKE) build-within-container TARGET=public DEST=public
# Run some "integration tests" that generates some screenshots
# This is work-in-progress
.PHONY: demo
demo:
scripts/demo/build-docker-image.sh
# Fix spelling
.PHONY: spell
spell:
codespell --write-changes --interactive 3 --ignore-words scripts/ignore-words.txt $$(fd -e lisp) README.md notes.org docs/*.md src/breeze.el
.PHONY: watch
watch:
( fd . -e lisp src/ tests/; echo breeze.asd ) | entr time scripts/test.sh