From 58d9d29996a867fec5635ee90c1d511d2ee207fb Mon Sep 17 00:00:00 2001 From: Andy Gup Date: Wed, 12 Aug 2015 13:22:45 -0600 Subject: [PATCH] add preprocessor script --- scripts/preprocessor.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 scripts/preprocessor.sh diff --git a/scripts/preprocessor.sh b/scripts/preprocessor.sh new file mode 100755 index 0000000..fec94ff --- /dev/null +++ b/scripts/preprocessor.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# For the log +echo "$(date)" +echo "$NAME" +echo "v$VERSION" +echo "" + +# Lint the dist files +echo "run lint" +npm run lint || exit 1 + +# Concat the dist files +echo "concat files" +npm run concat || exit 1 + +# Uglify the dist files +echo "uglify dist" +npm run uglify || exit 1 \ No newline at end of file