offline-editor-js/scripts/preprocessor.sh
2015-08-12 13:22:45 -06:00

19 lines
280 B
Bash
Executable File

#!/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