revert build
This commit is contained in:
parent
01e82bba1c
commit
02091861af
1 changed files with 4 additions and 16 deletions
|
@ -63,22 +63,9 @@ yarn install
|
||||||
yarn install
|
yarn install
|
||||||
npm rebuild node-sass
|
npm rebuild node-sass
|
||||||
node extractLocals.js
|
node extractLocals.js
|
||||||
node_modules/.bin/node-sass --sourcemap=none scss/all.scss dist/themes/light.css
|
node_modules/.bin/node-sass --output dist/css --sourcemap=none scss/
|
||||||
node_modules/.bin/webpack
|
node_modules/.bin/webpack
|
||||||
cp -r ./dist/ "$ROOT/app"
|
cp -r dist/* "$ROOT/app/dist/"
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
####################
|
|
||||||
# DARK-THEME #
|
|
||||||
###################
|
|
||||||
|
|
||||||
(
|
|
||||||
cd "$ROOT/app/"
|
|
||||||
yarn add https://github.com/btzr-io/lbry-dark-theme --production
|
|
||||||
cd "./node_modules/lbry-dark-theme/dist/"
|
|
||||||
cp -r dark.css "$ROOT/app/dist/themes"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -93,7 +80,8 @@ else
|
||||||
OSNAME="linux"
|
OSNAME="linux"
|
||||||
fi
|
fi
|
||||||
DAEMON_VER=$(node -e "console.log(require(\"$ROOT/app/package.json\").lbrySettings.lbrynetDaemonVersion)")
|
DAEMON_VER=$(node -e "console.log(require(\"$ROOT/app/package.json\").lbrySettings.lbrynetDaemonVersion)")
|
||||||
DAEMON_URL="https://github.com/lbryio/lbry/releases/download/v${DAEMON_VER}/lbrynet-daemon-v${DAEMON_VER}-${OSNAME}.zip"
|
DAEMON_URL_TEMPLATE=$(node -e "console.log(require(\"$ROOT/app/package.json\").lbrySettings.lbrynetDaemonUrlTemplate)")
|
||||||
|
DAEMON_URL=$(echo ${DAEMON_URL_TEMPLATE//DAEMONVER/$DAEMON_VER} | sed "s/OSNAME/$OSNAME/g")
|
||||||
wget --quiet "$DAEMON_URL" -O "$BUILD_DIR/daemon.zip"
|
wget --quiet "$DAEMON_URL" -O "$BUILD_DIR/daemon.zip"
|
||||||
unzip "$BUILD_DIR/daemon.zip" -d "$ROOT/app/dist/"
|
unzip "$BUILD_DIR/daemon.zip" -d "$ROOT/app/dist/"
|
||||||
rm "$BUILD_DIR/daemon.zip"
|
rm "$BUILD_DIR/daemon.zip"
|
||||||
|
|
Loading…
Reference in a new issue