spacemacs/core/Makefile
syl20bnr e2e071c7fb Add support for automatic "evilification" of maps.
Works with magit-next for now.
Tests to update and evilify functions robustness need to be improved.

Does not work 100% with magit-mode-map because it is created with
`make-keymap` and not `make-sparse-keymap` and `map-keymap` does not
seem to work with `make-keymap`.
2015-06-25 23:49:53 -04:00

43 lines
1.3 KiB
Makefile

## Makefile --- Spacemacs Core File
##
## Copyright (c) 2012-2014 Sylvain Benner
## Copyright (c) 2014-2015 Sylvain Benner & Contributors
##
## Author: Sylvain Benner <sylvain.benner@gmail.com>
## URL: https://github.com/syl20bnr/spacemacs
##
## This file is not part of GNU Emacs.
##
## License: GPLv3
EMACS_DIR=~/.emacs.d/
TEST_DIR=$(EMACS_DIR)core/tests/
all: test
test: unit_tests func_tests
unit_tests:
@echo "-----------------------------------------------------------------"
@echo "Unit Tests"
@echo "-----------------------------------------------------------------"
@emacs -batch -l ert \
-l $(EMACS_DIR)core/core-load-paths.el \
-l $(TEST_DIR)core-configuration-layer-utest.el \
-l $(TEST_DIR)core-funcs-utest.el \
-l $(TEST_DIR)core-evilify-keymap-utest.el \
-f ert-run-tests-batch-and-exit
func_tests:
@echo "-----------------------------------------------------------------"
@echo "Functional Tests"
@echo "-----------------------------------------------------------------"
@emacs -batch -l ert \
-l $(EMACS_DIR)core/core-load-paths.el \
-l $(TEST_DIR)core-spacemacs-ftest.el \
-l $(TEST_DIR)core-spacemacs-buffer-ftest.el \
-l $(TEST_DIR)core-release-management-ftest.el \
-f ert-run-tests-batch-and-exit
.PHONY: test unit_tests func_test