diff options
author | Yuchen Pei <id@ypei.org> | 2023-06-26 18:05:40 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-06-26 18:05:40 +1000 |
commit | 8c515e3b6efdcfecc213b56c860fccac2d9138cf (patch) | |
tree | dc6abec009b0b2c552c69ca9cee86836e1d01eb5 /misc/bin | |
parent | 6c3fb77a11f3cf76f66de4e760de5430dad83439 (diff) |
Adding clean-elc-compile
- also updating buildbot submodule commit
Diffstat (limited to 'misc/bin')
-rwxr-xr-x | misc/bin/clean-elc-compile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/bin/clean-elc-compile b/misc/bin/clean-elc-compile new file mode 100755 index 0000000..7abccf8 --- /dev/null +++ b/misc/bin/clean-elc-compile @@ -0,0 +1,10 @@ +#!/bin/bash + +# Byte compile an elisp dir with a "clean" emacs +for f in "$1"/*.el; do + emacs --batch \ + --eval "(setq load-prefer-newer t)" \ + -f package-initialize \ + -L "$1" \ + -f batch-byte-compile "$f" +done |