laravel-elixir-todo
v1.1.5
Published
Generate reports for TODO
Downloads
2
Readme
laravel-elixir-todo
Description
A laravel-elixir plugin for gulp-todo [https://github.com/pgilad/gulp-todo] (https://github.com/pgilad/gulp-todo)
Parse and output TODOs and FIXMEs from comments in your file in a stream
Install
First, install the package
$ npm install laravel-elixir-todo --save-dev
Then in require the package
Elixir(function(mix) {
require('laravel-elixir-todo');
});
Usage: todo()
Call the plugin in gulpfile.js
with:
mix.todo();
Optional parameters
mix.todo(src, options);
src is the source to scan. Defaults to main asset Elixir directories [ JS, CSS, SASS, LESS ] and tests [ /tests ].
eg. To scan all .php files in the 'tests' directory
mix.todo('./tests/**/*.php);
options is an array of options. See [gulp-todo homepage] (https://github.com/pgilad/gulp-todo)
- If not using a template and no TODO comments are found, the output file will be deleted.
options is an array of options. See [gulp-todo homepage] (https://github.com/pgilad/gulp-todo) template is the template file to look for output 'readme.md', reporter is style type to use. Default 'markdown'. reporterOptions is an object and is equivalent to options of 'todo.reporter(reporter, options)' msgEmpty is the string to use in templates no items are found
TODOs
No TODOs
Changelog
- 2016-02-18 Initial release
- 2016-05-11 Merge TODO and TODO-INJECT tasks
- 2016-05-11 Add config option ('msgEmpty') for empty string output in template