Changeset - eb151d768736
[Not reviewed]
0 1 0
Sergey Pashinin - 11 years ago 2014-08-26 14:50:09
sergey@pashinin.com
load ert-my-utils.el
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
Makefile
Show inline comments
 
@@ -7,36 +7,36 @@ EFLAGS ?= -L ../cl-lib -L src -L . -L tests
 
BATCH = $(EMACS) $(EFLAGS) -batch -Q
 
NOBATCH = $(EMACS) --debug-init $(EFLAGS) -Q
 
NOBATCHE = $(NOBATCH) -eval
 
BATCHE = $(BATCH) -eval
 
BATCHFLAGS = -batch -q --no-site-file
 
FLAGS =   -L src -batch -l workgroups2.el --eval "(ido-mode t)"
 
FLAGSWG = -L src -batch -l workgroups2.el --eval "(ido-mode t)" --eval "(workgroups-mode 1)"
 
WGCMD = ${EMACS} $(FLAGSWG) --debug-init --eval
 

	
 
clean:
 
	find . -name '*.elc' -delete
 

	
 
deps:
 
	curl https://raw.githubusercontent.com/rejeep/f.el/master/f.el -o f.el
 
	curl https://raw.githubusercontent.com/magnars/s.el/master/s.el -o s.el
 
	curl https://raw.githubusercontent.com/magnars/dash.el/master/dash.el -o dash.el
 
	curl https://raw.githubusercontent.com/rolandwalker/anaphora/master/anaphora.el -o anaphora.el
 

	
 
.PHONY: test
 
test: $(ELCS)
 
	@$(BATCHE) "(progn\
 
	(require 'cl) \
 
	(require 'ert) \
 
	(put 'flet 'byte-obsolete-info nil))" \
 
	-l tests/workgroups2-tests.el -f ert-run-tests-batch-and-exit
 
	-l tests/ert-my-utils.el -l tests/workgroups2-tests.el -f ert-run-tests-batch-and-exit
 

	
 

	
 
.PHONY: testgui
 
testgui: $(ELCS)
 
	@$(NOBATCHE) "(progn\
 
	(require 'cl) \
 
	(require 'ert) \
 
	(put 'flet 'byte-obsolete-info nil))" \
 
	-l tests/workgroups2-tests.el -f my-ert-run-tests
 
	if [ -f /tmp/wg-tests.log ]; then cat /tmp/wg-tests.log; exit 1; fi;
 
	if [ -f /tmp/wg-tests-ok.log ]; then cat /tmp/wg-tests-ok.log; fi;
0 comments (0 inline, 0 general)