2017-05-01 01:01:12 +03:00
|
|
|
#!/usr/bin/env node
|
|
|
|
const sh = require('shelljs')
|
|
|
|
const path = require('path')
|
|
|
|
const vars = require('./vars')
|
2017-06-10 01:29:16 +03:00
|
|
|
const log = require('npmlog')
|
2017-05-01 01:01:12 +03:00
|
|
|
|
2017-06-10 01:29:16 +03:00
|
|
|
log.info('deps', 'app')
|
2017-07-15 19:16:27 +03:00
|
|
|
sh.exec('yarn install')
|
2017-05-01 01:01:12 +03:00
|
|
|
|
2017-06-21 00:28:58 +03:00
|
|
|
sh.cd('app')
|
2017-07-15 19:16:27 +03:00
|
|
|
sh.exec('yarn install')
|
2017-06-21 00:28:58 +03:00
|
|
|
sh.cd('..')
|
|
|
|
|
2017-05-01 01:01:12 +03:00
|
|
|
vars.builtinPlugins.forEach(plugin => {
|
2017-06-10 01:29:16 +03:00
|
|
|
log.info('deps', plugin)
|
2017-05-01 01:01:12 +03:00
|
|
|
sh.cd(plugin)
|
2017-07-15 19:16:27 +03:00
|
|
|
sh.exec('yarn install')
|
2017-05-01 01:01:12 +03:00
|
|
|
sh.cd('..')
|
|
|
|
})
|