Appveyor tweak
authorKen Brown <kbrown@cornell.edu>
Fri, 7 Apr 2017 16:06:48 +0000 (12:06 -0400)
committerKen Brown <kbrown@cornell.edu>
Fri, 7 Apr 2017 16:06:48 +0000 (12:06 -0400)
appveyor.sh

index 8bea3e3ce620de6d2b1e47ae89238b0b3a34b6ad..7af3c983bef726ffbfd9dc0ac3035682e8072a39 100755 (executable)
@@ -1,19 +1,14 @@
 #!/bin/sh
-set -e
+exit_status=0
 
-echo fetching...
-cygport emacs-auctex.cygport fetch
+cygport emacs-auctex.cygport fetch prep compile || exit_status=1
 
-echo prepping...
-cygport emacs-auctex.cygport prep
-
-echo compiling...
-cygport emacs-auctex.cygport compile
-
-echo installing...
-cygport emacs-auctex.cygport inst
-
-echo packaging...
-cygport emacs-auctex.cygport pkg
+if [ $exit_status -eq 0 ]
+then
+    cygport emacs-auctex.cygport inst pkg || exit_status=1
+    cygport emacs-auctex.cygport test || echo "Test(s) failed."
+fi
 
 tar -cJf artifact.tar.xz emacs-auctex-*/dist emacs-auctex-*/log
+
+exit $exit_status
This page took 0.021603 seconds and 5 git commands to generate.