0.10.0 • Published 6 years ago
bddy v0.10.0
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']);
0.10.0
6 years ago
0.9.1
6 years ago
0.9.0
6 years ago
0.8.0
7 years ago
0.6.0
7 years ago
0.4.2
7 years ago
0.4.1
7 years ago
0.4.0
7 years ago
0.3.4
7 years ago
0.3.3
7 years ago
0.3.2
7 years ago
0.3.1
7 years ago
0.3.0
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.0
7 years ago