Skip to content

Commit

Permalink
Changes in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Kahlil Lechelt committed Jun 3, 2012
1 parent ba0fc23 commit 6e21803
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

This is a custom grunt.js task that executes `compass compile` for you and prints the COMPASS output to `grunt.log.write()`.

1. Place the `grunt-compass` folder in the root of your project.
2. Call `grunt.loadTasks('grunt-compass/tasks');` in your gruntfile.
3. Configure `grunt watch` to watch your scss files and call the task.
1. Call `grunt.loadNpmTasks('grunt-compass')` in your gruntfile.
2. Configure `grunt watch` to watch your scss files and call the task.
e.g.:

```javascript
Expand All @@ -14,7 +13,7 @@ This is a custom grunt.js task that executes `compass compile` for you and print
}
```

4. Setup the config for compass in your grunt config, or setup a compass config file:
3. Setup the config for compass in your grunt config, or setup a compass config file:
* Option 1: Set the configuration for compass in your grunt.js file:

```javascript
Expand All @@ -30,20 +29,20 @@ This is a custom grunt.js task that executes `compass compile` for you and print
```
compass install compass
```
5. You can set your custom output style like this:
4. You can set your custom output style like this:

```javascript
compass: {
outputstyle: 'compressed'
}
```
6. You can disable line comments like this:
5. You can disable line comments like this:

```javascript
compass: {
linecomments: false
}
```
7. Run "grunt watch" and change some SASS files :)
6. Run "grunt watch" and change some SASS files :)

_**Notice:** At this moment this task doesn't work with `grunt` or `grunt compass` only with `grunt watch`. Calling `grunt compass` only creates the folders, not the files!_

0 comments on commit 6e21803

Please sign in to comment.