Skip to content

Commit 013d559

Browse files
authored
Update build.sh
More verbose build script
1 parent 890d3b8 commit 013d559

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

build.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,39 @@
11
#!/bin/bash
22
set -e
33

4+
echo "Running NPM install to update dependencies"
5+
echo `date`
46
npm install
7+
8+
echo "Building MS2 bundles"
9+
echo `date`
510
npm run compile
11+
12+
echo "Cleanup Documentation"
13+
echo `date`
614
npm run cleandoc
15+
16+
echo "Checking syntax"
17+
echo `date`
718
npm run lint
19+
20+
echo "Run MapStore2 tests"
21+
echo `date`
822
npm test
23+
24+
echo "Creating Documentation"
25+
echo `date`
926
npm run doc
27+
28+
echo "Building final WAR package"
29+
echo `date`
1030
if [ $# -eq 0 ]
1131
then
1232
mvn clean install
1333
else
1434
mvn clean install -Dmapstore2.version=$1
1535
fi
1636

37+
echo "Final Cleanup"
38+
echo `date`
1739
npm run cleandoc

0 commit comments

Comments
 (0)