makelet
A embeddable make library
Last updated 5 years ago by yc .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install makelet 
SYNC missed versions from official npm registry.

Makelet - an embeddable make library

Makelet is an embeddable make library - that means you can use it to create your own make-like utility.

Install

npm install makelet

Usage

var Makelet = require('makelet');
var runner = new Makelet()
// regular tasks... 
runner.task('test1', function(done) {
  ...
  done(null);
});
// task dependencies
runner.task('test2', ['test1'], function(done) {
  ...
  done(null)
});
// file-based tasks... will only run if the depended files are newer. 
runner.file('src/test.c', ['include/test.h'], function(done) {
  ... 
  done(null);
})

Current Tags

  • 0.1.2                                ...           latest (5 years ago)

3 Versions

  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 3
Dependencies (4)
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |