diff --git a/build.sh b/build.sh index 819ed8d..4e1e7bb 100755 --- a/build.sh +++ b/build.sh @@ -38,8 +38,11 @@ zgapdfsigner.js zgaindex.js EOF npx google-closure-compiler ${GCCOPT} ${GCCEXT} ${jss} --js_output_file ${OUTFLDR}/zgapdfsigner.min.js -if [ $? -ne 0 ] +if [ $? -eq 0 ] then + echo "Build result:" + ls -l ${OUTFLDR}/*.min.js +else echo "google-closure-compiler failed." exit 20 fi