grunt-compass
Advanced tools
Comparing version 0.2.8 to 0.2.9
{ | ||
"name": "grunt-compass", | ||
"description": "A custom grunt.js task that executes compass compile for you and prints the COMPASS output to grunt.log.write().", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"homepage": "https://github.com/kahlil/grunt-compass", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -62,4 +62,19 @@ # `compass compile` for Grunt.js | ||
``` | ||
8. Run "grunt watch" and change some SASS files :) | ||
8. You can require a given ruby library before running commands | ||
```javascript | ||
compass: { | ||
somename: { | ||
require: 'animate-sass mylib' | ||
} | ||
} | ||
``` | ||
9. Run "grunt watch" and change some SASS files :) | ||
# Real World Examples | ||
* [krzysu](https://github.com/krzysu) posted a Gist with his `compass compile` configuration [over here](https://gist.github.com/2917330). | ||
* [javiervd](https://github.com/javiervd) kindly shares his grunt.js setup [over here](https://gist.github.com/2941501). | ||
# Changelog | ||
@@ -94,2 +109,2 @@ | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
OTHER DEALINGS IN THE SOFTWARE. |
@@ -14,3 +14,4 @@ module.exports = function( grunt ) { | ||
linecomments = this.data.linecomments, | ||
forcecompile = this.data.forcecompile; | ||
forcecompile = this.data.forcecompile, | ||
libRequire = this.data.require; | ||
@@ -29,2 +30,6 @@ if ( src !== undefined && dest !== undefined ) { | ||
if(libRequire !== undefined){ | ||
command += ' --require '+ libRequire; | ||
} | ||
if ( forcecompile === true ) { | ||
@@ -55,2 +60,2 @@ command += ' --force'; | ||
}); | ||
}; | ||
}; |
7073
47
109