Permalink
Browse files

added Gruntfile

  • Loading branch information...
1 parent 0411071 commit 03563ed3d82c0c214b6bcf32791b3f5b47f11220 @jbenet committed Dec 8, 2012
Showing with 21 additions and 0 deletions.
  1. +21 −0 Gruntfile.coffee
View
@@ -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']

0 comments on commit 03563ed

Please sign in to comment.