Files
@ d5e702a7dfc1
Branch filter:
Location: workgroups2/Makefile - annotation
d5e702a7dfc1
1.4 KiB
text/x-makefile
lexical-binding header
2d51f457bd16 2d51f457bd16 77702ca30d33 2d51f457bd16 2d51f457bd16 77702ca30d33 77702ca30d33 77702ca30d33 2d51f457bd16 7031027d60c1 7031027d60c1 c3013a2e62a9 2d51f457bd16 024e54ee11da da9b44c3208e 024e54ee11da 77702ca30d33 77702ca30d33 77702ca30d33 77702ca30d33 77702ca30d33 14a3249934f4 77702ca30d33 77702ca30d33 77702ca30d33 77702ca30d33 b506664127a8 77702ca30d33 77702ca30d33 cae45edc794a 77702ca30d33 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 c3013a2e62a9 c3013a2e62a9 c3013a2e62a9 cae45edc794a cae45edc794a | # -*- Makefile -*-
EMACS ?= emacs
TEST_DIR = src
TRAVIS_FILE = .travis.yml
EFLAGS ?= -L ../cl-lib -L src -L .
BATCH = $(EMACS) $(EFLAGS) -batch -Q
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
test2:
# desktop-save-mode
${EMACS} $(FLAGS) --eval "(desktop-save-mode 1)" --eval "(workgroups-mode 1)"
# WGs list length
${EMACS} $(FLAGSWG) --eval "(message (number-to-string (length (wg-workgroup-list))))"
# show WG name
${EMACS} $(FLAGSWG) --eval "(message (wg-workgroup-name (wg-current-workgroup)))"
# save session
${WGCMD} "(wg-save-session)"
test-ido:
emacs -Q -L src -l cl.el -l ido.el -l workgroups2.el --eval "(ido-mode t)" --eval "(workgroups-mode 1)"
|