This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/core/Makefile
syl20bnr 63f9e72495 New functions to display some text in a frame
spacemacs/insert-framed-text-to-buffer
spacemacs/insert-framed-text-from-file-to-buffer
2015-04-05 20:59:55 -04:00

40 lines
1.2 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 \
-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 \
-f ert-run-tests-batch-and-exit
.PHONY: test unit_tests func_test