mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
add preprocessor script
This commit is contained in:
parent
d2baeb624c
commit
58d9d29996
19
scripts/preprocessor.sh
Executable file
19
scripts/preprocessor.sh
Executable file
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user