Ignore:
Timestamp:
03/14/14 12:36:58 (11 years ago)
Author:
hendrikvanantwerpen
Message:

Enable deployment with Grunt.

Location:
Dev/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk

    • Property svn:ignore
      •  

        old new  
        11build
        2 quod-erat.git
  • Dev/trunk/node_modules/grunt-exec/test/Gruntfile.js

    r484 r516  
    2121        cmd: function(){
    2222          return 'echo "you can use callback, and error, stdout, stderr can be used as arguments"';
    23         },
    24         callback: function(error, stdout, stderr){
    25           var fs = require('fs');
    26           var path = require('path');
    27           var outputPath = path.resolve(process.cwd(), 'test4');
     23        }
     24      , callback: function(error, stdout, stderr){
     25          var fs = require('fs')
     26            , path = require('path')
     27            , outputPath = path.resolve(process.cwd(), 'test4');
     28
    2829          console.log('outputPath : ' + outputPath);
    2930          fs.writeFileSync(outputPath, stdout, 'utf-8');
    3031        }
    3132      }
     33    , test5: {
     34        cmd: 'exit 8'
     35      , exitCodes: 8
     36      }
     37    , test6: {
     38        cmd: 'exit 9'
     39      , exitCodes: [8, 9]
     40      }
     41    , test7: 'echo "you don\'t even need an object" > test7'
    3242    }
    3343  });
Note: See TracChangeset for help on using the changeset viewer.