X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/567ada01e6d0f150912055b1a2eadf2390ec44bd..7f03a2319eba95a5117f0424df6990e4d02741a8:/Rakefile diff --git a/Rakefile b/Rakefile index 2965eb9d5..9986b7568 100644 --- a/Rakefile +++ b/Rakefile @@ -94,7 +94,8 @@ end desc "Compile yasnippet.el into yasnippet.elc" rule '.elc' => '.el' do |t| - sh "#{$EMACS} --batch -L . --eval \"(byte-compile-file \\\"#{t.source}\\\")\"" + sh "#{$EMACS} --batch -L . --eval \"(setq byte-compile-error-on-warn t)\"" + + " -f batch-byte-compile #{t.source}" end task :compile => FileList["yasnippet.el"].ext('elc')