2017-06-24 12:21:57 +00:00
|
|
|
os: Visual Studio 2017
|
2017-06-24 11:06:52 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
environment:
|
2017-06-24 13:49:32 +00:00
|
|
|
nodejs_version: "7"
|
2017-06-24 11:06:52 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- '%USERPROFILE%\.electron'
|
|
|
|
|
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Install-Product node $env:nodejs_version $env:platform
|
|
|
|
- npm install
|
|
|
|
- node scripts/install-deps.js
|
|
|
|
- node scripts/build-native.js
|
|
|
|
|
|
|
|
build_script:
|
2017-06-24 13:39:18 +00:00
|
|
|
- npm run build
|
2017-06-24 11:06:52 +00:00
|
|
|
- node scripts/prepackage-plugins.js
|
|
|
|
- node scripts/build-windows.js
|
|
|
|
|
2017-06-24 18:05:49 +00:00
|
|
|
artifacts:
|
|
|
|
- path: 'dist\win\*.exe'
|