1.0.6 • Published 7 years ago
grunt-merge-tap-files v1.0.6
grunt-merge-tap-files
Merge several tap.log files into one tap.log file.
##Why This grunt task is build because if often have more than one tap logs in the same project. In the Jenkins configuration you can only to refer one tap.log file. Whith this task you can merge many tap logs in one tap log file.
Install
Install grunt-merge-tap-files:
npm install grunt-merge-tap-files --save-dev
Than inside the Gruntfile.js
// load the task
grunt.loadNpmTasks('grunt-merge-tap-files');
// configure the task
grunt.initConfig({
mergetapfiles: {
options: {
cmd: __dirname + '/out',
src: ['tap1.log', 'tap2.log'],
outputFile: 'tapmerged.log'
}
}
});
// and than run the task
grunt.registerTask('default', ['mergetapfiles']);