From 6ffcdb787558b62e0d0b6e045d0dbf5cb687eb59 Mon Sep 17 00:00:00 2001 From: Michael Comella Date: Sat, 9 Feb 2013 11:19:10 -0500 Subject: [PATCH] build.sh does not package on compile errors. This is useful for smaller terminals where the packaging output (zip) would scroll the terminal, preventing the developer from noticing the compiler errors. The formatting of build.sh is changed slightly for readability in accommodation with this change. --- build.sh | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/build.sh b/build.sh index b97cd4b..4c4c093 100755 --- a/build.sh +++ b/build.sh @@ -1,19 +1,19 @@ rm -f ./VimFx.xpi -coffee -c --bare \ - extension/bootstrap.coffee \ - extension/packages/*.coffee \ - extension/includes/*.coffee - -cd extension -zip -r ../VimFx.xpi \ - bootstrap.js \ - chrome.manifest \ - icon.png \ - install.rdf \ - options.xul \ - includes/*.js \ - packages/*.js \ - resources/* \ - locale -cd .. +coffee -c --bare \ + extension/bootstrap.coffee \ + extension/packages/*.coffee \ + extension/includes/*.coffee && \ + \ + cd extension && \ + zip -r ../VimFx.xpi \ + bootstrap.js \ + chrome.manifest \ + icon.png \ + install.rdf \ + options.xul \ + includes/*.js \ + packages/*.js \ + resources/* \ + locale && \ + cd .. -- 2.39.3