another fix

This commit is contained in:
Alex Grintsvayg 2017-03-06 18:00:57 -05:00
parent 9b6146cf0d
commit bb26e66d05

View file

@ -35,6 +35,7 @@ if [ "$FULL_BUILD" == "true" ]; then
fi fi
rm -rf "$ROOT/app/dist" rm -rf "$ROOT/app/dist"
mkdir -p "$ROOT/app/dist"
npm install npm install
@ -53,7 +54,7 @@ if [ "$FULL_BUILD" == "true" ]; then
# this, but it seemed better to write my own. # this, but it seemed better to write my own.
python release_on_tag.py python release_on_tag.py
fi fi
mv "$ROOT/lbrynet-daemon/dist/lbrynet-daemon" "$ROOT/app/dist" mv "$ROOT/lbrynet-daemon/dist/lbrynet-daemon" "$ROOT/app/dist/"
@ -66,7 +67,7 @@ mv "$ROOT/lbrynet-daemon/dist/lbrynet-daemon" "$ROOT/app/dist"
npm install npm install
node_modules/.bin/node-sass --output dist/css --sourcemap=none scss/ node_modules/.bin/node-sass --output dist/css --sourcemap=none scss/
node_modules/.bin/webpack node_modules/.bin/webpack
cp -r dist "$ROOT/app/dist" cp -r "dist/*" "$ROOT/app/dist/"
) )