Commit bd4c9604 authored by Jeremy Bokobza's avatar Jeremy Bokobza

added install stage in appveyor2

parent 9281785a
...@@ -53,14 +53,22 @@ install: ...@@ -53,14 +53,22 @@ install:
- ps: | - ps: |
Write-Host "Installing dependencies" -foregroundcolor "magenta" Write-Host "Installing dependencies" -foregroundcolor "magenta"
# Initialize dependencies Write-Host "--> git submodule" -foregroundcolor "magenta"
git submodule update --init --recursive git submodule update --init --recursive
Install-Product node 8
Write-Host "--> node 6" -foregroundcolor "magenta"
Install-Product node 6
Write-Host "--> npm config" -foregroundcolor "magenta"
npm config set unsafe-perm=true npm config set unsafe-perm=true
Write-Host "--> npm install" -foregroundcolor "magenta"
cd $env:APPVEYOR_BUILD_FOLDER/Breeze.UI cd $env:APPVEYOR_BUILD_FOLDER/Breeze.UI
npm install npm install
Write-Host "--> npm install npx" -foregroundcolor "magenta"
npm install -g npx
Write-Host "$env:log_prefix FINISHED restoring dotnet and npm packages" -foregroundcolor "magenta" Write-Host "$env:log_prefix FINISHED restoring dotnet and npm packages" -foregroundcolor "magenta"
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment