Modify spec file so to generate and install widget.
[profile/ivi/cowhide.git] / Gruntfile.js
index 89347a2..77ac026 100644 (file)
@@ -42,8 +42,7 @@ module.exports = function(grunt) {
         "devel"    : true,
         "boss"     : true,
         "expr"     : true,
-        "asi"      : true,
-        "es5"      : true
+        "asi"      : true
       }
     },
     less: {
@@ -207,6 +206,13 @@ module.exports = function(grunt) {
         ]
       },
     },
+    sed: {
+        images: {
+            path: ['dist/cowhide-default.css', 'dist/cowhide-default.min.css'],
+            pattern: 'img\/glyphicons',
+            replacement: 'images/glyphicons'
+        }
+    },
     exec: {
       build_docs: {
         command: 'node dist/docs/build'
@@ -234,6 +240,7 @@ module.exports = function(grunt) {
   grunt.loadNpmTasks('grunt-contrib-uglify');
   grunt.loadNpmTasks('grunt-contrib-cssmin');
   grunt.loadNpmTasks('grunt-contrib-copy');
+  grunt.loadNpmTasks('grunt-sed');
   grunt.loadNpmTasks('grunt-exec');
   grunt.loadNpmTasks('grunt-contrib-compress');
 
@@ -249,6 +256,7 @@ module.exports = function(grunt) {
     'uglify',
     'cssmin',
     'copy',
+    'sed',
     'exec:build_docs',
     'compress']);
 };