grunt-includes
Advanced tools
Comparing version 0.0.1 to 0.1.0
{ | ||
"name": "grunt-includes", | ||
"description": "Include other files within a file.", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"author": "vanetix <matmcfarland@gmail.com>", | ||
@@ -16,8 +16,12 @@ "main": "Gruntfile.js", | ||
"devDependencies": { | ||
"grunt": "~0.4.0rc7", | ||
"grunt-contrib-jshint": "~0.1.1rc6", | ||
"grunt-contrib-nodeunit": "~0.1.2rc6", | ||
"grunt-contrib-clean": "0.4.0rc6" | ||
"grunt": "~0.4.0", | ||
"grunt-contrib-jshint": "~0.1.1", | ||
"grunt-contrib-nodeunit": "~0.1.2", | ||
"grunt-contrib-clean": "~0.4.0" | ||
}, | ||
"peerDependencies": { | ||
"grunt": "~0.4.0" | ||
}, | ||
"keywords": [ | ||
"include", | ||
"gruntplugin" | ||
@@ -24,0 +28,0 @@ ], |
@@ -1,5 +0,5 @@ | ||
# grunt-includes | ||
# grunt-includes [![Build Status](https://travis-ci.org/vanetix/grunt-includes.png)](https://travis-ci.org/vanetix/grunt-includes) | ||
***Only works with grunt >= 0.4.0*** | ||
A grunt task for including a file within another file (think php includes). | ||
A grunt task for including a file within another file (think php includes). *Circular* imports will break the recursive strategy. | ||
@@ -6,0 +6,0 @@ ## Getting Started |
@@ -14,2 +14,3 @@ /* | ||
*/ | ||
var path = require('path'); | ||
@@ -25,10 +26,6 @@ | ||
* Core `grunt-includes` task | ||
* Iterates over all source files and calls `recurse(path)` on each | ||
*/ | ||
grunt.registerMultiTask('includes', 'Your task description goes here.', function() { | ||
/** | ||
* Iterate over all source files and build any includes | ||
*/ | ||
this.files.forEach(function(f) { | ||
@@ -35,0 +32,0 @@ var src = f.src.filter(function(path) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6676
1
60