Merge "Include build output in `npm run test` logs"
This commit is contained in:
commit
e355c3bd4e
|
@ -3,6 +3,7 @@
|
|||
node_modules
|
||||
build
|
||||
cover
|
||||
./reports
|
||||
app/js/templates.js
|
||||
*.py[cod]
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"apiRoot": "http://health.openstack.org"
|
||||
}
|
|
@ -70,6 +70,11 @@ module.exports = {
|
|||
'devResources': {
|
||||
'src': ['etc/config.json'],
|
||||
'dest': 'build/'
|
||||
},
|
||||
|
||||
'reports': {
|
||||
'src': ['build/**/*', 'etc/reports/config.json'],
|
||||
'dest': 'reports/build/'
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
@ -10,6 +10,7 @@ gulp.task('e2e', function(callback) {
|
|||
runSequence(
|
||||
'prod',
|
||||
'dev-resources',
|
||||
'reports',
|
||||
'protractor',
|
||||
callback);
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
var config = require('../config');
|
||||
var gulp = require('gulp');
|
||||
|
||||
gulp.task('reports', function() {
|
||||
|
||||
return gulp.src(config.reports.src)
|
||||
.pipe(gulp.dest(config.reports.dest));
|
||||
|
||||
});
|
Loading…
Reference in New Issue