26 lines
608 B
Bash
Executable file
26 lines
608 B
Bash
Executable file
#!/usr/bin/env bash
|
|
## Testing script for CircleCI
|
|
##
|
|
## Copyright (c) 2012-2014 Sylvain Benner
|
|
## Copyright (c) 2014-2018 Sylvain Benner & Contributors
|
|
##
|
|
## Author: Eugene Yaremenko
|
|
## URL: https://github.com/syl20bnr/spacemacs
|
|
##
|
|
## This file is not part of GNU Emacs.
|
|
##
|
|
## License: GPLv3
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
source "${DIR}/shared"
|
|
|
|
cleanup
|
|
|
|
testdir=~/.emacs.d/tests/$1
|
|
echo_headline "Running '$2' for '$1' in '$testdir' folder"
|
|
if [ -f $testdir/dotspacemacs.el ]; then
|
|
cp $testdir/dotspacemacs.el ~/.spacemacs
|
|
fi
|
|
cd $testdir && echo "Now in $(pwd)"
|
|
make $2
|
|
exit $?
|