Updated build script

pull/1425/head
tidusjar 7 years ago
parent d10b0f7081
commit 7057656818

@ -1,15 +1,21 @@
version: 3.0.{build} version: 3.0.{build}
configuration: Release configuration: Release
os: Visual Studio 2017 os: Visual Studio 2017
environment:
nodejs_version: "7.8.0"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install bower -g
- npm install gulp -g
- npm install
before_build: before_build:
- ps: Update-NodeJsInstallation 7.8.0
- ps: .\BuildTask.ps1 -env "live" - ps: .\BuildTask.ps1 -env "live"
- cmd: cd src/ombi - cmd: cd src/ombi
- node --version - node --version
- appveyor-retry dotnet restore - appveyor-retry dotnet restore
- appveyor-retry npm install bower -g
- appveyor-retry npm install -g gulp
- appveyor-retry npm install
- appveyor-retry bower install - appveyor-retry bower install
- gulp publish - gulp publish
build_script: build_script:

Loading…
Cancel
Save