# bddy

> First class, Secondary category, Unrestricted building system.

Latest version **0.10.0** (published 2018-04-14) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install bddy
pnpm add bddy
yarn add bddy
bun add bddy
```

Provides the command `bddy`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.10.0 |
| Published | 2018-04-14 |
| First published | 2017-06-15 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 16.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Belleve Invis |
| Maintainers | be5invis |

## Links

- npm: https://www.npmjs.com/package/bddy
- Repository: https://github.com/caryll/bddy
- Homepage: https://github.com/caryll/bddy#readme
- Issues: https://github.com/caryll/bddy/issues
- npm.io page: https://npm.io/package/bddy

## Dependencies (3)

- [yargs](https://npm.io/package/yargs.md) ^11.0.0
- [bddy-core](https://npm.io/package/bddy-core.md) ^0.10.0
- [pretty-error](https://npm.io/package/pretty-error.md) ^2.1.1

## Recent versions

- 0.10.0 (latest) — 2018-04-14
- 0.9.1 — 2018-01-26
- 0.9.0 — 2018-01-11
- 0.8.0 — 2017-10-19
- 0.6.0 — 2017-10-10
- 0.4.2 — 2017-09-30
- 0.4.1 — 2017-09-29
- 0.3.4 — 2017-09-29
- 0.3.3 — 2017-09-27
- 0.3.2 — 2017-09-27
- 0.2.1 — 2017-09-27
- 0.2.0 — 2017-09-27
- 0.1.6 — 2017-09-26
- 0.1.5 — 2017-06-20
- 0.1.4 — 2017-06-20
- … 3 more at https://npm.io/package/bddy/versions

## README

# *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

```js
// 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*

```js
#!/usr/bin/env node

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

---
_Source: https://npm.io/package/bddy · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
