Files
@ f4f3b7c498f7
Branch filter:
Location: workgroups2/Makefile - annotation
f4f3b7c498f7
1.1 KiB
text/x-makefile
Docstrings fixes and checks if variables are nil
2d51f457bd16 2d51f457bd16 2d51f457bd16 2d51f457bd16 2d51f457bd16 2d51f457bd16 2d51f457bd16 2d51f457bd16 2d51f457bd16 94fc544e10a5 c3013a2e62a9 c3013a2e62a9 2d51f457bd16 024e54ee11da da9b44c3208e 024e54ee11da 024e54ee11da 14a3249934f4 2d51f457bd16 14a3249934f4 60f558557e46 94fc544e10a5 cae45edc794a 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 14a3249934f4 c3013a2e62a9 c3013a2e62a9 c3013a2e62a9 cae45edc794a cae45edc794a | # -*- Makefile -*-
EMACS = emacs
TEST_DIR = src
TRAVIS_FILE = .travis.yml
# Compile with noninteractive and relatively clean environment.
BATCHFLAGS = -batch -q --no-site-file
FLAGS = -L src -batch -l ido.el -l workgroups2.el --eval "(ido-mode t)"
FLAGSWG = -L src -batch -l cl-lib.el -l ido.el -l workgroups2.el --eval "(ido-mode t)" --eval "(workgroups-mode 1)"
WGCMD = ${EMACS} $(FLAGSWG) --debug-init --eval
clean:
find . -name '*.elc' -delete
test: clean
# just load all files
${EMACS} -L src $(BATCHFLAGS) -f batch-byte-compile $(TEST_DIR)/*.el
# wg-mode-line-string
${EMACS} -L src -batch -l workgroups-functions.el --eval '(message (wg-mode-line-string))'
# 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)"
|