tabby/scripts/install-deps.js
Eugene Pankov 9f58e9f183 ci
2017-09-09 12:36:06 +02:00

20 lines
366 B
JavaScript
Executable File

#!/usr/bin/env node
const sh = require('shelljs')
const path = require('path')
const vars = require('./vars')
const log = require('npmlog')
log.info('deps', 'app')
sh.exec('yarn install')
sh.cd('app')
sh.exec('yarn install')
sh.cd('..')
vars.builtinPlugins.forEach(plugin => {
log.info('deps', plugin)
sh.cd(plugin)
sh.exec('yarn install')
sh.cd('..')
})