From 5184b55942447c8895da4db7014431e829c8aca3 Mon Sep 17 00:00:00 2001 From: Pierre-Elie Fauche Date: Sun, 16 Sep 2012 16:36:25 +0200 Subject: [PATCH] Cakefile to compile Coffee. Fixed typo. --- Cakefile | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Cakefile diff --git a/Cakefile b/Cakefile new file mode 100644 index 0000000..37f74c0 --- /dev/null +++ b/Cakefile @@ -0,0 +1,5 @@ +{exec} = require 'child_process' +task 'build', 'Build project from src/*.coffee to lib/*.js', -> + exec 'coffee --compile --output lib/ src/', (err, stdout, stderr) -> + throw err if err + console.log stdout + stderr \ No newline at end of file diff --git a/package.json b/package.json index e842d72..65716a2 100644 --- a/package.json +++ b/package.json @@ -27,5 +27,5 @@ "dependencies": { "request": ">=2.11.1", "underscore": ">=1.3.3" - }, + } }