Skip to content
Snippets Groups Projects
Commit 61574b18 authored by Éloïs's avatar Éloïs
Browse files

Merge branch 'node8_plug' into '1.6'

[fix] #1230 The `plug` command was broken by NodeJS 8

See merge request !1226
parents 5d5dbb19 d5e6ebcf
No related branches found
No related tags found
2 merge requests!12331.6,!1226[fix] #1230 The `plug` command was broken by NodeJS 8
...@@ -66,9 +66,9 @@ cd ${RELEASES}/duniter ...@@ -66,9 +66,9 @@ cd ${RELEASES}/duniter
echo "Copying Nodejs" echo "Copying Nodejs"
cp -R "$DOWNLOADS/node-${NVER}-linux-${ARCH}" node cp -R "$DOWNLOADS/node-${NVER}-linux-${ARCH}" node
echo "yarn" npm install
yarn
yarn add duniter-ui@1.6.x --save --production npm install duniter-ui@1.6.x --save --production
SRC=`pwd` SRC=`pwd`
echo $SRC echo $SRC
......
...@@ -78,25 +78,12 @@ cd ${RELEASES}/duniter ...@@ -78,25 +78,12 @@ cd ${RELEASES}/duniter
# Remove git files # Remove git files
rm -Rf .git rm -Rf .git
[[ $? -eq 0 ]] && echo ">> VM: building modules..." [[ $? -eq 0 ]] && echo ">> VM: building modules..."
[[ $? -eq 0 ]] && yarn [[ $? -eq 0 ]] && npm install
#[[ $? -eq 0 ]] && echo ">> VM: running tests..."
#[[ $? -eq 0 ]] && yarn test
# Duniter UI # Duniter UI
[[ $? -eq 0 ]] && yarn add duniter-ui@1.6.x [[ $? -eq 0 ]] && npm install duniter-ui@1.6.x
[[ $? -eq 0 ]] && npm prune --production [[ $? -eq 0 ]] && npm prune --production
# Specific modules that are not needed in a release
rm -rf node_modules/materialize-css
rm -rf node_modules/duniter-ui/app
rm -rf node_modules/duniter-ui/vendor
rm -rf node_modules/scryptb/node_modules/node-pre-gyp
rm -rf node_modules/naclb/node_modules/node-pre-gyp
rm -rf node_modules/wotb/node_modules/node-pre-gyp
rm -rf node_modules/sqlite3/build
cp -r "$RELEASES/duniter" "$RELEASES/desktop_" cp -r "$RELEASES/duniter" "$RELEASES/desktop_"
cp -r "$RELEASES/duniter" "$RELEASES/server_" cp -r "$RELEASES/duniter" "$RELEASES/server_"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment