Build to the 'webapp' directory instead

People may have config files in vector/ so it would be nonideal
if we started overwriting them / blowing them away.
This commit is contained in:
David Baker 2016-11-08 15:46:21 +00:00
parent a4c16b896b
commit 5b7f629996
4 changed files with 15 additions and 14 deletions

View file

@ -8,9 +8,10 @@ else
version=`git describe --dirty --tags || echo unknown`
fi
npm run clean
npm run build
mkdir -p dist
cp -r vector vector-$version
cp -r webapp vector-$version
echo $version > vector-$version/version
tar chvzf dist/vector-$version.tar.gz vector-$version
rm -r vector-$version