UNPKG

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