Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
add angular-opbeat.e2e.js to gulp.build
Browse files Browse the repository at this point in the history
  • Loading branch information
hmdhk committed Apr 12, 2016
1 parent d643b46 commit 7963484
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ gulp.task('build:release', function () {
})

return es.merge.apply(null, tasks)

})

gulp.task('build', function () {
var tasks = sourceTargets.map(function (entry) {
var sources = ['./e2e_test/angular/angular-opbeat.e2e.js'].concat(sourceTargets)
var tasks = sources.map(function (entry) {
return browserify({
entries: [entry],
standalone: '',
Expand All @@ -87,6 +87,11 @@ gulp.task('build', function () {
}))
.pipe(derequire())
.pipe(gulp.dest('./dist/dev/'))
.pipe(rename({
extname: '.min.js'
}))
.pipe(uglify())
.pipe(gulp.dest('./dist/dev/'))
})

return es.merge.apply(null, tasks)
Expand Down Expand Up @@ -169,7 +174,7 @@ gulp.task('test:e2e', function (done) {

gulp.task('e2e-serve', function (done) {
connect.server({
root: ['e2e_test', 'src'],
root: ['e2e_test', 'src', './'],
port: 8000,
livereload: false,
open: false,
Expand Down

0 comments on commit 7963484

Please sign in to comment.