aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2020-02-17 17:05:54 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2020-02-17 17:05:54 +0100
commitdbe02918b6a9950bf0eea392be976664b22b78c8 (patch)
treed1a2a084c9882c9dd583d617a43394034c5fb579
parent2705a3b044fc13e637911e835f8307509b39bfe1 (diff)
downloaddotfiles-dbe02918b6a9950bf0eea392be976664b22b78c8.tar.gz
dotfiles-dbe02918b6a9950bf0eea392be976664b22b78c8.zip
emacs: tidying up a bit the test infrastructure
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rwxr-xr-x.emacs.d/test-emacs.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/.emacs.d/test-emacs.sh b/.emacs.d/test-emacs.sh
index 7f22025..aece90c 100755
--- a/.emacs.d/test-emacs.sh
+++ b/.emacs.d/test-emacs.sh
@@ -20,16 +20,16 @@ LOAD_PATH="-L $(readlink -f -- vendor)"
# shellcheck disable=SC2039
pushd .
+# God knows why this is needed, but `package-lint` bails otherwise...
+mkdir -p vendor/data
+echo "()" > vendor/data/stdlib-changes
+
for i in . lisp; do
cd "$i"
# shellcheck disable=SC2010
# shellcheck disable=SC2035
files="$(ls *.el | grep -v 'custom.el' | grep -v 'abbrevs.el' | grep -v 'lisp-autoloads.el' | grep -v '.emacs.d-autoloads.el' | grep -v 'soria-theme.el' | xargs)"
- # God knows why this is needed, but `package-lint` bails otherwise...
- mkdir -p vendor/data
- echo "()" > vendor/data/stdlib-changes
-
# shellcheck disable=SC2086
${EMACS:=emacs} -Q --batch ${LOAD_PATH} -l elisp-lint.el -f elisp-lint-files-batch $files