Distributes image files to the example directories.
authorSalvatore Iovene <salvatore@iovene.com>
Wed, 6 Feb 2013 07:44:33 +0000 (09:44 +0200)
committerSalvatore Iovene <salvatore@iovene.com>
Wed, 6 Feb 2013 07:44:33 +0000 (09:44 +0200)
grunt.js

index 2f208bb..57f76a4 100644 (file)
--- a/grunt.js
+++ b/grunt.js
@@ -249,12 +249,15 @@ module.exports = function(grunt) {
             'lib/handlebars-1.0.rc.1.js',
             'lib/ember-latest.js'
           ],
+          'examples/calf/lib/images/': ['dist/images/**'],
+
           'examples/hoofbeats/lib/': [
             'dist/cowhide-default.css',
             'dist/cowhide.js',
             'lib/handlebars-1.0.rc.1.js',
             'lib/ember-latest.js'
-          ]
+          ],
+          'examples/hoofbeats/lib/images/': ['dist/images/**']
         }
       },
       examples_lib_dist: {
@@ -263,17 +266,22 @@ module.exports = function(grunt) {
         },
         files: {
           'dist/examples/calf/lib/': [
+            'dist/images/',
             'dist/cowhide-default.css',
             'dist/cowhide.js',
             'lib/handlebars-1.0.rc.1.js',
             'lib/ember-latest.js'
           ],
+          'dist/examples/calf/lib/images/': ['dist/images/**'],
+
           'dist/examples/hoofbeats/lib/': [
+            'dist/images/',
             'dist/cowhide-default.css',
             'dist/cowhide.js',
             'lib/handlebars-1.0.rc.1.js',
             'lib/ember-latest.js'
-          ]
+          ],
+          'dist/examples/hoofbeats/lib/images/': ['dist/images/**']
         }
       }
     },