1 | const fs = require('fs')
|
2 | const path = require('path')
|
3 | const flatten = require('lodash.flatten')
|
4 |
|
5 | exports.topic = {
|
6 | name: 'ci',
|
7 | description: 'run an application test suite on Heroku'
|
8 | }
|
9 |
|
10 | const commands = path.join(__dirname, 'commands/ci')
|
11 |
|
12 | exports.commands = flatten(fs.readdirSync(commands).map((file) => {
|
13 | return require(path.join(commands, file))
|
14 | }))
|