Commit b20113f0 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

Automate 'make all' in test/indent

parent cd0ad721
2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
* indent/Makefile: Call 'rm' with '-f'. Default EMACS to
'../../src/emacs'. Remove *.new in 'clean'. Set 'all' target to
run all examples.
2015-03-09 Nicolas Petton <nicolas@petton.fr>
* automated/seq-tests.el (test-seq-into): Add a test for seq-into.
......
RM=rm
EMACS=emacs
EMACS=../../src/emacs
all: clean $(addsuffix .test,$(wildcard *.*))
clean:
-$(RM) *.test
-$(RM) -f *.new
# TODO:
# - mark the places where the indentation is known to be incorrect,
# and allow either ignoring those errors or not.
%.test: %
-$(RM) $<.new
$(EMACS) --batch $< \
--eval '(indent-region (point-min) (point-max) nil)' \
--eval '(write-region (point-min) (point-max) "$<.new")'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment