another fix
This commit is contained in:
parent
9b6146cf0d
commit
bb26e66d05
1 changed files with 3 additions and 2 deletions
5
build.sh
5
build.sh
|
@ -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/"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue