npm install cadfael
|12||downloads in the last month|
|Version||0.1.0-4 last updated a year ago|
|Dependencies||underscore, when, glob|
A precept is "a general rule intended to regulate behavior or thought"
Cadfael automates and verifies the execution of interdependent precepts that you define for your project:
- Install the global CLI script:
npm install -g cadfael-cli
- Write a precept file
- Install cadfael package in your project directory:
npm install cadfael --save-dev(or globally, if you prefer)
- Observe all of your precepts:
monk observe(or just some of them:
monk observe tests)
If you don't need/want the global CLI, you can also use the API directly:
var cadfael = require('cadfael'); cadfael.observeRoot('./precepts.js', 'tests'); //returns a promise
Why another build tool?
[m|r|j]ake has systems of dependencies building only what is needed/changes.
the spec for promises, however, I have been itching to synthesize promises and build scripts. A general purpose, promise-based, dependency-aware build tool can singly and elegantly fulfill
the space currently held by an amagamate of other tools. Futhermore, this tool intends asynchronous support as first-class feature.
At least, that is the plan. Feedback and constructive criticism is welcome.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using cadfael and the provided
- 0.1.0 - Basic tooling working - Alpha functionality
Copyright (c) 2013 Elliott B. Edwards
Licensed under the MIT license.