Add a public interactive example covering Grid layout, layered canvas and panel backgrounds, Context-derived themes, reactive state, in-memory Data Controller updates, keyed rows, navigation, and event dispatch. Defer one viewport sync after display so fullscreen frames render the actual visible dimensions.
29 lines
869 B
Makefile
29 lines
869 B
Makefile
EMACS ?= emacs
|
|
LOAD_PATH = -L . -L ../etaf -L ../etaf-ui -L ../ebox
|
|
|
|
.PHONY: all compile test check checkdoc load clean
|
|
|
|
all: check
|
|
|
|
compile:
|
|
rm -f *.elc tests/*.elc
|
|
$(EMACS) -Q --batch $(LOAD_PATH) --eval '(setq load-prefer-newer t)' \
|
|
--eval '(load-file "etaf-playground.el")' \
|
|
--eval '(byte-compile-file "etaf-playground.el")'
|
|
|
|
test: compile
|
|
$(EMACS) -Q --batch $(LOAD_PATH) --eval '(setq load-prefer-newer t)' \
|
|
-l tests/etaf-playground-tests.el -f ert-run-tests-batch-and-exit
|
|
|
|
load: compile
|
|
$(EMACS) -Q --batch $(LOAD_PATH) --eval '(require (quote etaf-playground))' \
|
|
--eval '(princ "etaf-playground load OK\n")'
|
|
|
|
checkdoc:
|
|
$(EMACS) -Q --batch --eval '(progn (require (quote checkdoc)) (dolist (file (directory-files "." t)) (when (string-suffix-p ".el" file) (checkdoc-file file))))'
|
|
|
|
check: checkdoc compile test
|
|
|
|
clean:
|
|
rm -f *.elc tests/*.elc
|