Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove some seemingly obsolete recipes #2497

Merged
merged 7 commits into from Oct 14, 2020
Merged

Conversation

silvenon
Copy link
Contributor

@silvenon silvenon commented Oct 7, 2020

Remove the following recipes:

  • selecting changed files
  • running tasks in series
  • exporting tasks
  • running shell commands
  • specifying a CWD
  • splitting tasks in files
  • using a config file

The explanations are in the commit messages.

This is of course very subjective and some removals may be too extreme. What do you think? This is in preparation for #2164. Also, does it make sense to still have Browserify recipes?

@silvenon silvenon changed the title remove recipes Remove some seemingly obsolete recipes Oct 7, 2020
gulp v4 supports this natively by combining `since` with
`gulp.lastRun()`.

https://gulpjs.com/docs/en/api/lastrun
gulp v4 supports this natively, as explained in the recipe itself, so
there is no need for it.
This is a core feature, it's not necessary to explain it in a recipe.
The `cwd` option is described in the docs for `gulp.src`, and `--cwd`
can be found when running `gulp --help`. Having this as a recipe seems
unnecessary.
It should be very obvious that you can `require` functions from other
files in `gulpfile.js` and export them as tasks, it seems unnecessary to
use `gulp-hub`.
It seems too basic and obvious.
@phated
Copy link
Member

phated commented Oct 14, 2020

@silvenon perfect! I agree with all these removals and their reasonings! I will "rebase and merge". Thank you for following the conventional commit pattern, too!

@phated phated merged commit 131b702 into gulpjs:master Oct 14, 2020
@silvenon silvenon deleted the remove-recipes branch October 15, 2020 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants