Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Trying to get npm setup in order

  • Loading branch information...
commit 0b64758e7b473a922f4ad63cce30bc7cb0431330 1 parent b2f3fc5
@KrisJordan authored
Showing with 4 additions and 1 deletion.
  1. +2 −1  lib/icing.js
  2. +1 −0  package.json
  3. +1 −0  src/icing.coffee
View
3  lib/icing.js
@@ -1,10 +1,11 @@
(function() {
- var RecipeNode, Rule, RuleGraph, cakeTask, exec, fs, graph, runRecipeContext, stylize, _ref;
+ var RecipeNode, Rule, RuleGraph, cake, cakeTask, exec, fs, graph, runRecipeContext, stylize, _ref;
option('-v', '--verbose', 'Display progress as tasks are executed');
option('-w', '--watch', 'Monitor files for changes and automatically rebuild');
_ref = require('./rules'), RuleGraph = _ref.RuleGraph, Rule = _ref.Rule, RecipeNode = _ref.RecipeNode;
exec = require('child_process').exec;
fs = require('fs');
+ cake = require('coffee-script/cake');
cakeTask = global.task;
graph = new RuleGraph;
global.task = function(target, description, prereqs, recipe) {
View
1  package.json
@@ -9,6 +9,7 @@
"lib": "./lib",
"doc": "./doc"
},
+ "main": "./lib/icing",
"engines": {
"node": ">=0.2.5"
}
View
1  src/icing.coffee
@@ -59,6 +59,7 @@ option '-w', '--watch', 'Monitor files for changes and automatically reb
{ RuleGraph, Rule, RecipeNode } = require './rules'
{ exec } = require 'child_process'
fs = require 'fs'
+cake = require 'coffee-script/cake'
# Preserve a reference to cake's task, we'll be using it.
cakeTask = global.task
Please sign in to comment.
Something went wrong with that request. Please try again.