Skip to content

Commit

Permalink
Gruntfile: add boilerplate for clone like there is for parserlib
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed May 10, 2014
1 parent 670a63a commit e79c5e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ module.exports = function(grunt) {
"/* Build: v<%= pkg.version %> <%= grunt.template.today('dd-mmmm-yyyy hh:MM:ss') %> */"
},
build_dir: "build",
//Parser lib copy for versions that can't use requirejs
//Parser lib copy for versions that can't user requirejs
parserlib: "node_modules/parserlib/lib/node-parserlib.js",
//clone copy for versions that can't user requirejs
clone: "node_modules/clone/clone.js",
//Core CSSLint files used by most versions
csslint_files: [
"src/core/CSSLint.js",
Expand All @@ -51,6 +53,7 @@ module.exports = function(grunt) {
//Core fileset used by most versions
core_files: [
"<%= parserlib %>",
"<%= clone %>",
"<%= csslint_files %>"
],
// Task configuration.
Expand Down Expand Up @@ -86,6 +89,7 @@ module.exports = function(grunt) {
node: {
options: {
banner: "<%= banner.full %>\n" +
"var clone = require('clone');\n" +
"var parserlib = require('parserlib');\n",
footer: "\nexports.CSSLint = CSSLint;"
},
Expand Down

0 comments on commit e79c5e7

Please sign in to comment.