Skip to content

Commit

Permalink
feat(grunt): use jit-grunt for better task performance
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Aug 19, 2015
1 parent e093974 commit 4957c9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
module.exports = (grunt) ->

# Load all grunt tasks
require("matchdep").filterDev("grunt-*").forEach grunt.loadNpmTasks
require("jit-grunt") grunt,
gitclean: "grunt-git"
gitclone: "grunt-git"
gitpull: "grunt-git"
gitreset: "grunt-git"
replace: "grunt-text-replace"

# Track tasks load time
require("time-grunt") grunt
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"grunt-shell": "^1.1.2",
"grunt-text-replace": "^0.4.0",
"grunt-xmlmin": "^0.1.6",
"matchdep": "^0.3.0",
"jit-grunt": "^0.9.1",
"time-grunt": "^1.2.1"
}
}

0 comments on commit 4957c9b

Please sign in to comment.