From c915ff9391d10969a69e9fea3795d79fc5cfc847 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Thu, 6 Apr 2017 20:31:43 +0200
Subject: [PATCH] [fix] Windows + ARM build were broken

---
 appveyor.yml                   | 8 ++++----
 ci/arm/make_arm_deb_package.sh | 9 ++++++---
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index e2c3597ee..7b4e6e14f 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -17,6 +17,10 @@ install:
 build: off
 
 after_test:
+  - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm install duniter-bma --save --production
+  - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm install duniter-crawler --save --production
+  - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm install duniter-keypair --save --production
+  - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm install duniter-prover --save --production
   - if [%APPVEYOR_REPO_TAG_NAME%] neq [] powershell .\\ci\\appveyor\\inno_setup.ps1
   - if [%APPVEYOR_REPO_TAG_NAME%] neq [] rd /s /q %APPDATA%\..\Local\NuGet\Cache
   - if [%APPVEYOR_REPO_TAG_NAME%] neq [] set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
@@ -49,10 +53,6 @@ after_test:
   - if [%APPVEYOR_REPO_TAG_NAME%] neq [] cd ../..
   - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm prune --production
   - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm install duniter-ui --save --production
-  - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm install duniter-bma --save --production
-  - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm install duniter-crawler --save --production
-  - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm install duniter-keypair --save --production
-  - if [%APPVEYOR_REPO_TAG_NAME%] neq [] npm install duniter-prover --save --production
   - if [%APPVEYOR_REPO_TAG_NAME%] neq [] rd /s /q %cd%\node_modules\duniter-ui\node_modules
   - if [%APPVEYOR_REPO_TAG_NAME%] neq [] cd ..
   - if [%APPVEYOR_REPO_TAG_NAME%] neq [] mkdir duniter_release
diff --git a/ci/arm/make_arm_deb_package.sh b/ci/arm/make_arm_deb_package.sh
index 87f261b1d..2d2196750 100644
--- a/ci/arm/make_arm_deb_package.sh
+++ b/ci/arm/make_arm_deb_package.sh
@@ -17,12 +17,15 @@ mv node-${NVER}-linux-${ARCH} node
 rm node-${NVER}-linux-${ARCH}.tar.gz
 
 echo "npm install"
-node/bin/npm install
-node/bin/npm prune --production
+node/bin/npm install --production
 SRC=`pwd`
 echo $SRC
 
-# Install UI
+# Install modules
+node/bin/npm install duniter-bma --save --production
+node/bin/npm install duniter-crawler --save --production
+node/bin/npm install duniter-keypair --save --production
+node/bin/npm install duniter-prover --save --production
 node/bin/npm install duniter-ui --production --save
 rm -Rf node_modules/duniter-ui/node_modules
 
-- 
GitLab