UNPKG

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