bddy

First class, Secondary category, Unrestricted building system.

this package has been deprecated
Last updated 2 years ago by be5invis .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bddy 
SYNC missed versions from official npm registry.

bddy: Build Directly

bddy is a simple building toolkit written in Node.JS.

Installation

Install as a global command: npm install bddy -g;

Install locally: npm install bddy.

Writing recipe

// bddy.js
module.exports = function(ctx, the, argv){
    the.file(`out/*.js`).def(async function(target, $){
        const [_, $in] = await $.need(target.dir, `src/${target.$1}.js`);
        await $.run(`uglify`, $in, [`-o`, ${target}]);
    })
    the.virt(`start`).def(async function(target, $){
        await $.need(`out/a.js`, `out/b.js`, `out/c.js`)
    })
}

Type command bddy to initiate the build.

Programmatically use bddy

#!/usr/bin/env node

"use strict";
const cli = require("bddy/cli");
cli(require("./bddy"), ['start']);

Current Tags

  • 0.10.0                                ...           latest (2 years ago)

18 Versions

  • 0.10.0 [deprecated]           ...           2 years ago
  • 0.9.1 [deprecated]           ...           2 years ago
  • 0.9.0 [deprecated]           ...           2 years ago
  • 0.8.0 [deprecated]           ...           3 years ago
  • 0.6.0 [deprecated]           ...           3 years ago
  • 0.4.2 [deprecated]           ...           3 years ago
  • 0.4.1 [deprecated]           ...           3 years ago
  • 0.3.4 [deprecated]           ...           3 years ago
  • 0.3.3 [deprecated]           ...           3 years ago
  • 0.3.2 [deprecated]           ...           3 years ago
  • 0.2.1 [deprecated]           ...           3 years ago
  • 0.2.0 [deprecated]           ...           3 years ago
  • 0.1.6 [deprecated]           ...           3 years ago
  • 0.1.5 [deprecated]           ...           3 years ago
  • 0.1.4 [deprecated]           ...           3 years ago
  • 0.1.3 [deprecated]           ...           3 years ago
  • 0.1.2 [deprecated]           ...           3 years ago
  • 0.1.0 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 4
Last Month 3
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |