You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
207 B
Bash
10 lines
207 B
Bash
1 year ago
|
#!/bin/bash
|
||
|
|
||
|
for file in ./*.el; do
|
||
|
cask emacs -batch -L . --eval '(setq byte-compile-error-on-warn t)' -f batch-byte-compile "$file" || break
|
||
|
done
|
||
|
|
||
|
if ! [[ -n 'NO_REMOVE_ELC' ]]; then
|
||
|
rm ./*.elc
|
||
|
fi
|