Start caching compiled CSON files

Compiling CSON takes ~45 seconds so only compile files that aren't
in cache speeding up the build once the cache is primed.
This commit is contained in:
Kevin Sawicki 2014-07-24 10:39:13 -07:00
parent d3a46b6bc9
commit 7cfdcf0c1b
2 changed files with 3 additions and 1 deletions

View File

@ -96,6 +96,8 @@ module.exports = (grunt) ->
csonConfig =
options:
rootObject: true
cachePath: path.join(home, '.atom', 'compile-cache', 'grunt-cson')
glob_to_multiple:
expand: true
src: [

View File

@ -17,7 +17,7 @@
"grunt-contrib-coffee": "~0.9.0",
"grunt-contrib-csslint": "~0.1.2",
"grunt-contrib-less": "~0.8.0",
"grunt-cson": "0.8.0",
"grunt-cson": "0.10.0",
"grunt-download-atom-shell": "~0.8.0",
"grunt-lesslint": "0.13.0",
"grunt-markdown": "~0.4.0",