Skip to content
This repository was archived by the owner on Sep 17, 2018. It is now read-only.

Commit d10b6bc

Browse files
committed
rename task from css_flip to cssflip; fixes #1
1 parent d29ab83 commit d10b6bc

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = function(grunt) {
4040
},
4141

4242
// Configuration to be run (and then tested).
43-
css_flip: {
43+
cssflip: {
4444
default_options: {
4545
options: {},
4646
files: {
@@ -72,7 +72,7 @@ module.exports = function(grunt) {
7272

7373
// Whenever the "test" task is run, first clean the "tmp" dir, then run this
7474
// plugin's task(s), then test the result.
75-
grunt.registerTask('test', ['clean', 'css_flip', 'nodeunit']);
75+
grunt.registerTask('test', ['clean', 'cssflip', 'nodeunit']);
7676

7777
// By default, lint and run all tests.
7878
grunt.registerTask('default', ['jshint', 'jscs', 'test']);

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ Once the plugin has been installed, it may be enabled inside your Gruntfile with
2121
grunt.loadNpmTasks('grunt-css-flip');
2222
```
2323

24-
## The "css_flip" task
24+
## The "cssflip" task
2525

2626
### Overview
27-
In your project's Gruntfile, add a section named `css_flip` to the data object passed into `grunt.initConfig()`.
27+
In your project's Gruntfile, add a section named `cssflip` to the data object passed into `grunt.initConfig()`.
2828

2929
```js
3030
grunt.initConfig({
31-
css_flip: {
31+
cssflip: {
3232
options: {
3333
// Task-specific options go here.
3434
},
@@ -63,7 +63,7 @@ In this example, two CSS files are flipped using css-flip's default settings.
6363

6464
```js
6565
grunt.initConfig({
66-
css_flip: {
66+
cssflip: {
6767
options: {},
6868
files: {
6969
'flipped-one.css': 'original-one.css',
@@ -78,7 +78,7 @@ In this example, the resulting flipped CSS files will also be slightly compresse
7878

7979
```js
8080
grunt.initConfig({
81-
css_flip: {
81+
cssflip: {
8282
options: {
8383
compress: true
8484
},

tasks/css_flip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var flip = require('css-flip');
1212

1313

1414
module.exports = function(grunt) {
15-
grunt.registerMultiTask('css_flip', "Grunt plugin for Twitter's css-flip", function () {
15+
grunt.registerMultiTask('cssflip', "Grunt plugin for Twitter's css-flip", function () {
1616
var options = this.options({});
1717

1818
this.files.forEach(function (f) {

test/css_flip_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var grunt = require('grunt');
2222
test.ifError(value)
2323
*/
2424

25-
exports.css_flip = {
25+
exports.cssflip = {
2626
setUp: function(done) {
2727
// setup here if necessary
2828
done();

0 commit comments

Comments
 (0)