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/.circleci/test

24 lines
528 B
Text
Raw Normal View History

#!/usr/bin/env bash
## Testing script for CircleCI
##
## Copyright (c) 2012-2014 Sylvain Benner
2018-05-20 11:54:20 +00:00
## 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
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 $?