mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-23 18:44:20 +03:00
.
This commit is contained in:
parent
3ada9b703f
commit
bf3882b557
@ -17,7 +17,8 @@ before_install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- scripts/build-native.js
|
- scripts/build-native.js
|
||||||
- npm run build
|
- npm run build --prefix app
|
||||||
|
- node scripts/build-plugins.js
|
||||||
- scripts/prepackage-plugins.js
|
- scripts/prepackage-plugins.js
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then scripts/build-linux.js; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then scripts/build-linux.js; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then scripts/build-macos.js; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then scripts/build-macos.js; fi
|
||||||
|
@ -24,7 +24,8 @@ install:
|
|||||||
- node scripts/build-native.js
|
- node scripts/build-native.js
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- npm run build
|
- npm run build --prefix app
|
||||||
|
- node scripts/build-plugins.js
|
||||||
- node scripts/prepackage-plugins.js
|
- node scripts/prepackage-plugins.js
|
||||||
- node scripts/build-windows.js
|
- node scripts/build-windows.js
|
||||||
|
|
||||||
|
11
scripts/build-plugins.js
Executable file
11
scripts/build-plugins.js
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/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('..')
|
||||||
|
})
|
@ -6,12 +6,10 @@ const log = require('npmlog')
|
|||||||
|
|
||||||
log.info('deps', 'app')
|
log.info('deps', 'app')
|
||||||
sh.exec('npm prune')
|
sh.exec('npm prune')
|
||||||
sh.exec('npm install')
|
|
||||||
sh.exec('npm update --dev')
|
sh.exec('npm update --dev')
|
||||||
|
|
||||||
sh.cd('app')
|
sh.cd('app')
|
||||||
sh.exec('npm prune')
|
sh.exec('npm prune')
|
||||||
sh.exec('npm install')
|
|
||||||
sh.exec('npm update --dev')
|
sh.exec('npm update --dev')
|
||||||
sh.cd('..')
|
sh.cd('..')
|
||||||
|
|
||||||
@ -19,7 +17,6 @@ vars.builtinPlugins.forEach(plugin => {
|
|||||||
log.info('deps', plugin)
|
log.info('deps', plugin)
|
||||||
sh.cd(plugin)
|
sh.cd(plugin)
|
||||||
sh.exec('npm prune')
|
sh.exec('npm prune')
|
||||||
sh.exec('npm install')
|
|
||||||
sh.exec('npm update --dev')
|
sh.exec('npm update --dev')
|
||||||
sh.cd('..')
|
sh.cd('..')
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user