1 |
|
2 |
|
3 | /**
|
4 | * Share this project.
|
5 | */
|
6 |
|
7 |
|
8 |
|
9 | process.chdir(`${__dirname}/..`)
|
10 |
|
11 | const { execcli, runTasks } = require('ape-tasking')
|
12 | const pkg = require('../package.json')
|
13 |
|
14 | runTasks('share', [
|
15 | () => execcli('hub', [ 'init' ]),
|
16 | () => execcli('hub', [ 'create', { d: pkg.description }, pkg.repository ]),
|
17 | () => execcli('travis', [ 'enable', { r: pkg.repository } ])
|
18 | ], true)
|