Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An Event-Driven, Asynchronous, Coffee-Script-Based Make Engine
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
demo
templates
.gitignore
README.md
index.js
package.json

README.md

NMake

NMake is an asynchronous, event-drive build tools.

Goals

NMake's primary goal is to make an excellent tool for small jobs, like building npm modules in a particular order. Only after creating a successful tool for small jobs will NMake attempt to tackle large scale jobs.

Secondly, each NMake file should be a Node.js module.

Usage

Run nmake from any directory containing an NMakefile:

$ nmake
[INFO] Making init
       | Make Init
[INFO] Making release
       | Make Release
[INFO] Making default
       | Making Default!
[SUCCESS] DONE

NMakefile

An NMakefile compiles is written in coffee script, but without the boilerplate. NMake defines a template for the file in the Mustache template language.

The hello world of NMakefile is:

hello:
    info 'Hello'
    next()

world: hello
    info 'World'
    next()

Since NMake is evented, at the very least you must call next() on success, and next(err) when there is an error. Any error halts the make process.

Something went wrong with that request. Please try again.