1. carkraus
  2. grunt-glue

Commits

carkraus  committed de7c93d

update readme

  • Participants
  • Parent commits 1fa4c2e
  • Branches default

Comments (0)

Files changed (1)

File README.md

View file
  • Ignore whitespace
 * Add this line to your project's Gruntfile:
 
     :::javascript
-    grunt.loadNpmTasks('grunt-glue');
+        grunt.loadNpmTasks('grunt-glue');
 
 * Configure the glue task for each of your sprite targets, like
 
     :::javascript
-    grunt.initConfig({
-        // ...
-        glue: {
-            icons: {
-                src: 'assets/icons',
-                dest: 'assets/icons_built'
-            },
-            buttons: {
-                src: 'assets/buttons',
-                options: '--css=assets/built --img=test/assets/built --less --namespace=btn --optipng'
+        grunt.initConfig({
+            // ...
+            glue: {
+                icons: {
+                    src: 'assets/icons',
+                    dest: 'assets/icons_built'
+                },
+                buttons: {
+                    src: 'assets/buttons',
+                    options: '--css=assets/built --img=test/assets/built --less --namespace=btn --optipng'
+                }
             }
-        }
-        // ...
-    });
+            // ...
+        });
 
 See the glue documentation for further configuration options:
 [http://glue.readthedocs.org/en/latest/options.html](http://glue.readthedocs.org/en/latest/options.html).