-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (23 loc) · 806 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (23 loc) · 806 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
30
31
.PHONY: test test-all lint byte-compile clean sync-toml-filters check-toml-filters-sync
# make on MSYS strips TEMP/TMP from the environment, which makes
# `make-temp-file' in the subprocess fall back to `c:/' (unwritable)
# and fail every test that touches a temp file. Force sane defaults.
export TMPDIR ?= /tmp
export TEMP ?= /tmp
export TMP ?= /tmp
test:
eask test ert tests/anvil-test.el
test-all:
emacs --batch --eval '(setq load-prefer-newer t)' -L . -l anvil-dev -f anvil-dev-test-run-all-batch
lint:
eask lint package
eask lint checkdoc
byte-compile:
eask compile
clean:
eask clean all
## Sync rtk-derived TOML filters -> anvil-shell-filter-builtin.el
sync-toml-filters:
python3 scripts/sync-rtk-filters.py
check-toml-filters-sync:
python3 scripts/sync-rtk-filters.py --check