jackfranklin / gulp-load-plugins

Automatically load in gulp plugins
https://github.com/jackfranklin/gulp-load-plugins
MIT License
757 stars 55 forks source link

gulp-load-tasks #13

Closed sindresorhus closed 10 years ago

sindresorhus commented 10 years ago

Remove the gulpplugin keyword from gulp-load-tasks so it doesn't show up in search.

jackfranklin commented 10 years ago

Stupid question... but how? The gulp-load-tasks plugin now longer exists other than the old version on npm...

julien-f commented 10 years ago

You should also probably deprecate it.

jackfranklin commented 10 years ago

I believe I have deprecated it. I definitely remember doing that bit :P

julien-f commented 10 years ago

My bad it seems you did.

It would be good if www-npm shows it more clearly…

jackfranklin commented 10 years ago

Yeah, agreed.

mikeerickson commented 10 years ago

A newb here bug how can I use this plugin to load tasks in external files? I have been trying to figure this out all week but can't seem to get it working. Do you have any sample code anywhere which I can reference to load my individual tasks from external files?

julien-f commented 10 years ago

@mikeerickson gulp-load-plugins automatically loads gulp plugins (gulp-*), it has nothing to do with tasks.

To load tasks from files you simply needs to require them, see this recipe for a more sophisticated approach.