mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
36 lines
544 B
YAML
36 lines
544 B
YAML
|
os: Visual Studio 2015
|
||
|
|
||
|
platform:
|
||
|
- x64
|
||
|
|
||
|
environment:
|
||
|
nodejs_version: "7"
|
||
|
|
||
|
cache:
|
||
|
- app/node_modules
|
||
|
- node_modules
|
||
|
- '%USERPROFILE%\.electron'
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
|
||
|
skip_tags: true
|
||
|
|
||
|
version: "{build}"
|
||
|
|
||
|
install:
|
||
|
- ps: Install-Product node $env:nodejs_version $env:platform
|
||
|
- npm install -g npm@5
|
||
|
- npm install
|
||
|
- node scripts/install-deps.js
|
||
|
- node scripts/build-native.js
|
||
|
|
||
|
build_script:
|
||
|
- npm run build
|
||
|
- node scripts/prepackage-plugins.js
|
||
|
- node scripts/build-windows.js
|
||
|
|
||
|
artifacts:
|
||
|
- path: 'dist\*.exe'
|