mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-27 06:00:26 +08: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'
|