Skip to content

Commit e79c5e7

Browse files
committed
Gruntfile: add boilerplate for clone like there is for parserlib
1 parent 670a63a commit e79c5e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Gruntfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ module.exports = function(grunt) {
3939
"/* Build: v<%= pkg.version %> <%= grunt.template.today('dd-mmmm-yyyy hh:MM:ss') %> */"
4040
},
4141
build_dir: "build",
42-
//Parser lib copy for versions that can't use requirejs
42+
//Parser lib copy for versions that can't user requirejs
4343
parserlib: "node_modules/parserlib/lib/node-parserlib.js",
44+
//clone copy for versions that can't user requirejs
45+
clone: "node_modules/clone/clone.js",
4446
//Core CSSLint files used by most versions
4547
csslint_files: [
4648
"src/core/CSSLint.js",
@@ -51,6 +53,7 @@ module.exports = function(grunt) {
5153
//Core fileset used by most versions
5254
core_files: [
5355
"<%= parserlib %>",
56+
"<%= clone %>",
5457
"<%= csslint_files %>"
5558
],
5659
// Task configuration.
@@ -86,6 +89,7 @@ module.exports = function(grunt) {
8689
node: {
8790
options: {
8891
banner: "<%= banner.full %>\n" +
92+
"var clone = require('clone');\n" +
8993
"var parserlib = require('parserlib');\n",
9094
footer: "\nexports.CSSLint = CSSLint;"
9195
},

0 commit comments

Comments
 (0)