gulp-javascript-ctags
v1.0.0
Published
Write tags file using javascript-ctags
Downloads
6
Readme
gulp-javascript-ctags
Gulp plugin for javascript-ctags.
Instalation
Run npm install --save-dev gulp-javascript-ctags
.
Usage
var tags = require('gulp-javascript-ctags');
gulp.task('tags', function() {
return gulp.src('src/**/*.js')
.pipe(tags('tags')) // filename of the output tags file
.pipe(gulp.dest('./')); // destination folder
});
gulp.task('watch-tags', ['tags'], function() {
return gulp.watch('src/**/*.js', ['tags']);
});