Skip to content

Commit

Permalink
[fix] ARM build does not transpile TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
c-geek committed Aug 21, 2017
1 parent da85e4c commit 7bb0a78
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions release/arch/arm/build-arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export NVM_DIR="$HOME/.nvm"

# Prepare
ARCH="`uname -m | sed -e \"s/86_//\"`"
NVER="v6.11.1"
NVER="v6.11.2"

# Folders
INITIAL_DIRECTORY=`pwd`
Expand Down Expand Up @@ -60,18 +60,14 @@ cd ${RELEASES}/duniter
echo "Copying Nodejs"
cp -R "$DOWNLOADS/node-${NVER}-linux-${ARCH}" node

echo "npm install"
node/bin/npm install
node/bin/npm install [email protected] --save
echo "yarn install"
yarn install
yarn install [email protected] --save
sed -i "s/duniter\//..\/..\/..\/..\//g" node_modules/duniter-ui/server/controller/webmin.js
node/bin/npm prune --production
yarn prune --production
SRC=`pwd`
echo $SRC

# Install modules
echo ">> VM: installing peerDependencies..."
node/bin/node -e "const deps = require('./package.json').peerDependencies; Object.keys(deps).forEach(k => console.log(k + \"@\" + deps[k]))" | xargs node/bin/npm i --production

# Clean unused UI modules
rm -Rf node_modules/duniter-ui/node_modules

Expand Down

0 comments on commit 7bb0a78

Please sign in to comment.