grunt-compass
Advanced tools
Comparing version 0.2.14 to 0.2.15
{ | ||
"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.14", | ||
"version": "0.2.15", | ||
"homepage": "https://github.com/kahlil/grunt-compass", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -59,3 +59,3 @@ # grunt-compass | ||
10. You can set the relative assets to `true` and set an image path for Compass spriting feature: | ||
10. You can set the relative assets to `true` and set an image path for the Compass spriting feature: | ||
@@ -67,4 +67,10 @@ ```javascript | ||
11. Run "grunt watch" and change some SASS files :) | ||
11. You can run compass with bundle exec if you need to as well: | ||
```javascript | ||
bundleExec: true | ||
``` | ||
12. Run "grunt watch" and edit some SASS files :) | ||
# An Example Setup | ||
@@ -71,0 +77,0 @@ |
@@ -19,3 +19,4 @@ module.exports = function( grunt ) { | ||
relativeassets = this.data.relativeassets, | ||
libRequire = this.data.require; | ||
libRequire = this.data.require, | ||
bundleExec = this.data.bundleExec; | ||
@@ -30,2 +31,6 @@ if ( this.data.src !== undefined ) { | ||
if ( bundleExec ) { | ||
command = 'bundle exec ' + command; | ||
} | ||
if ( src !== undefined && dest !== undefined ) { | ||
@@ -32,0 +37,0 @@ command += ' --sass-dir="' + src + '" --css-dir="' + dest + '"'; |
9935
76
149