Shuffling things around a bit better...

This commit is contained in:
Nicolas "Pixel" Noble 2018-05-02 01:43:31 +02:00
parent 5f47953c88
commit 582c171da4
5 changed files with 13 additions and 9 deletions

View File

@ -12,9 +12,6 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
call nvm install 10
call nvm use 10
set arch_list=ia32 x64
set node_versions=4.0.0 5.0.0 6.0.0 7.0.0 8.0.0 9.0.0 10.0.0

View File

@ -13,9 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
nvm install 10
nvm use 10
set -ex
arch_list=( ia32 x64 )

View File

@ -13,11 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
nvm install 10
nvm use 10
set -ex
# https://github.com/mapbox/node-pre-gyp/issues/362
npm install -g node-gyp
cd $(dirname $0)/../../..
rm -rf build || true

View File

@ -17,6 +17,11 @@
powershell -c "& { iwr https://raw.githubusercontent.com/grumpycoders/nvm-ps/master/nvm.ps1 | iex }"
SET PATH=%APPDATA%\nvm-ps;%APPDATA%\nvm-ps\nodejs;%PATH%
call nvm install 10
call nvm use 10
call npm install -g npm
call npm install -g node-gyp
cd /d %~dp0
cd ..\..

View File

@ -17,6 +17,11 @@ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 10
nvm use 10
npm install -g npm
npm install -g node-gyp
set -ex
cd $(dirname $0)/../..
base_dir=$(pwd)