1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-27 00:50:49 +03:00
This commit is contained in:
Eugene Pankov 2017-06-24 15:39:18 +02:00
parent 1e9cbabbf0
commit 126bc555e3
4 changed files with 3 additions and 16 deletions

View File

@ -17,8 +17,7 @@ before_install:
script:
- scripts/build-native.js
- npm run build --prefix app
- node scripts/build-plugins.js
- npm run build
- scripts/prepackage-plugins.js
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then scripts/build-linux.js; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then scripts/build-macos.js; fi

View File

@ -24,8 +24,7 @@ install:
- node scripts/build-native.js
build_script:
- npm run build --prefix app
- node scripts/build-plugins.js
- npm run build
- node scripts/prepackage-plugins.js
- node scripts/build-windows.js

View File

@ -68,7 +68,7 @@
}
},
"scripts": {
"build": "webpack --progress --color",
"build": "webpack --config app/webpack.config.js && webpack --config terminus-core/webpack.config.js && webpack --config terminus-settings/webpack.config.js && webpack --config terminus-terminal/webpack.config.js && webpack --config terminus-settings/webpack.config.js && webpack --config terminus-plugin-manager/webpack.config.js && webpack --config terminus-community-color-schemes/webpack.config.js",
"watch": "webpack --progress --color --watch",
"start": "cross-env DEV=1 electron --js-flags='--ignition' app --debug",
"lint": "tslint -c tslint.json -t stylish terminus-*/src/**/*.ts terminus-*/src/*.ts app/src/*.ts",

View File

@ -1,11 +0,0 @@
#!/usr/bin/env node
const sh = require('shelljs')
const vars = require('./vars')
const log = require('npmlog')
vars.builtinPlugins.forEach(plugin => {
log.info('build', plugin)
sh.cd(plugin)
sh.exec(`npm run build`)
sh.cd('..')
})