|
|
@@ -56,6 +56,7 @@ var copyComponent = function(component, pattern, sourceFolder, packageFile) { |
|
|
.pipe(gulp.dest(outputFolder + '/components/' + component + '-' + version)); |
|
|
}; |
|
|
|
|
|
|
|
|
gulp.task('bower', function() { |
|
|
var bowerTask = bower.commands.install(); |
|
|
bowerTask.on('log', function (result) { |
|
|
@@ -67,6 +68,7 @@ gulp.task('bower', function() { |
|
|
return bowerTask; |
|
|
}); |
|
|
|
|
|
|
|
|
gulp.task('build-app', function() { |
|
|
var file = 'docs.js'; |
|
|
var minFile = 'docs.min.js'; |
|
|
@@ -82,6 +84,7 @@ gulp.task('build-app', function() { |
|
|
.pipe(gulp.dest(folder)); |
|
|
}); |
|
|
|
|
|
|
|
|
gulp.task('assets', ['bower'], function() { |
|
|
var JS_EXT = /\.js$/; |
|
|
return merge( |
|
|
@@ -116,6 +119,7 @@ gulp.task('doc-gen', ['bower'], function() { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
// JSHint the example and protractor test files |
|
|
gulp.task('jshint', ['doc-gen'], function() { |
|
|
var examplesConfig = getMergedJshintConfig('../docs/app/test/.jshintrc'); |
|
|
|