Permalink
Browse files

Adds MIT license. Updates metadata. Removes dependency on coco by com…

…piling module prior to packaging.
1 parent 12d1767 commit cfceaed2ecc627808572e0742b0bf5f3dd454225 @dsc committed Oct 13, 2011
Showing with 788 additions and 25 deletions.
  1. +1 −0 .gitignore
  2. +2 −4 index.co → compiler.co
  3. +749 −0 compiler.js
  4. +23 −0 license.md
  5. +7 −11 package.co
  6. +6 −10 package.json
View
@@ -1 +1,2 @@
settings.md
+node_modules
View
@@ -15,8 +15,6 @@ Seq = require 'seq'
-
-
/**
* Sets up an instance of the CompilerMiddleware.
*
@@ -148,7 +146,8 @@ exports.DEFAULTS = DEFAULTS =
resolve_index : false # if true-y, resolve directories to this filename: false | true => 'index.html' | str
allowed_methods : [ 'GET' ] # HTTP methods compiler should process
- on : null # event handlers to add: { event : handler, ... }
+ # TODO
+ # on : null # event handlers to add: { event : handler, ... }
# settings object is passed to compilers and all keys are preserved
options : # additional options can be specified per-compiler
@@ -388,7 +387,6 @@ class exports.Compiler extends EventEmitter
class exports.ExternalCompiler extends Compiler
id : 'external'
env : null # Process environment to use. Default: `process.env`.
- # path : null # PATH for command. Default: `env.PATH` if `env`, then `process.env.PATH`.
cwd : null # Current working directory for command. Default: process.cwd().
timeout : 3.000_s # Command timeout (seconds). Default:
cmd : null # The compiler command.
Oops, something went wrong.

0 comments on commit cfceaed

Please sign in to comment.