diff --git a/Makefile b/Makefile index 1274e88..64c4516 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # * makem.sh/Makefile --- Script to aid building and testing Emacs Lisp packages # URL: https://github.com/alphapapa/makem.sh -# Version: 0.4.2 +# Version: 0.5 # * Arguments diff --git a/makem.sh b/makem.sh index 863c2e5..d1a5edb 100755 --- a/makem.sh +++ b/makem.sh @@ -3,7 +3,7 @@ # * makem.sh --- Script to aid building and testing Emacs Lisp packages # URL: https://github.com/alphapapa/makem.sh -# Version: 0.4.2 +# Version: 0.5 # * Commentary: @@ -166,6 +166,39 @@ EOF echo $file } +function elisp-byte-compile-file { + # This seems to be the only way to make byte-compilation signal + # errors for warnings AND display all warnings rather than only + # the first one. + local file=$(mktemp) + # TODO: Add file to $paths_temp in other elisp- functions. + paths_temp+=("$file") + + cat >"$file" <