From 03563ed3d82c0c214b6bcf32791b3f5b47f11220 Mon Sep 17 00:00:00 2001 From: jbenet Date: Fri, 7 Dec 2012 21:27:31 -0800 Subject: [PATCH] added Gruntfile --- Gruntfile.coffee | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Gruntfile.coffee diff --git a/Gruntfile.coffee b/Gruntfile.coffee new file mode 100644 index 0000000..9d604bd --- /dev/null +++ b/Gruntfile.coffee @@ -0,0 +1,21 @@ +module.exports = (grunt) -> + + # Project configuration. + grunt.initConfig + pkg: grunt.file.readJSON 'package.json' + + coffee: + tasks: + src: 'coffee/tasks/**/*.coffee' + dest: 'tasks' + # grunt expects npm modules to have a top-level tasks directory, in js + + watch: + files: 'coffee/**/*.coffee' + tasks: 'coffee' + + # Load tasks + grunt.loadNpmTasks 'grunt-coffee' + + # Register tasks + grunt.registerTask 'default', ['coffee']