From edbd054bbe3e36ac5f2957ee498fcfd35389351b Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 17 Feb 2020 16:42:21 +0100 Subject: emacs: fix for stdlib-changes on elisp-lint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently elisp-lint also requires that stupid `stdlib-changes' file. Let's make it happen for this tool too. Signed-off-by: Miquel Sabaté Solà --- .emacs.d/test-emacs.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/test-emacs.sh b/.emacs.d/test-emacs.sh index 12a8b70..a8d3d88 100755 --- a/.emacs.d/test-emacs.sh +++ b/.emacs.d/test-emacs.sh @@ -18,19 +18,20 @@ LOAD_PATH="-L $(readlink -f -- vendor)" # shellcheck disable=SC2039 pushd . + 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)" - # shellcheck disable=SC2086 - ${EMACS:=emacs} -Q --batch ${LOAD_PATH} -l elisp-lint.el -f elisp-lint-files-batch $files - # 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 + # shellcheck disable=SC2086 ${EMACS:=emacs} -Q --batch ${LOAD_PATH} -l package-lint.el -f package-lint-batch-and-exit $files done -- cgit v1.2.3