marcospds / marcospds/gulp-tasklist-run

Run method without excluded tasks(regexp) parameter

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

gulp hacktoberfest javascript typescript
Dominant language
JavaScript
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

The method **run** receive **excluded tasks**(regexp), for filter and remove tasks.
Create a method **run** without **excluded tasks** parameter.

## Exempla:
```ts
gulp.task('e2e:demo', (done) => {
console.log('It works e2e:demo!')
done()
})

gulp.task('e2e:login', (done) => {
console.log('It works e2e:login!')
done()
})

gulp.task('all:e2e', (done) => {
TaskListRun.run(gulp, 'e2e:*', done)
})
```
Result:
```console
//Starting 'all:e2e'...
//Starting 'e2e:login'...
//It works e2e:login!
//Finished 'e2e:login' after 745 μs
//Starting 'e2e:demo'...
//It works e2e:demo!
//Finished 'e2e:demo' after 339 μs
//Starting 'finish_all:e2e'...
//Finished 'finish_all:e2e' after 263 μs
//Finished 'all:e2e' after 2.7 ms
```

Link to help(portuguese) https://pt.stackoverflow.com/questions/122246/m%C3%A9todos-com-o-mesmo-nome-mas-com-quantidade-de-par%C3%A2metros-diferentes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the current TaskListRun.run implementation and inspect how its excluded-tasks regexp parameter is handled. Add the requested no-parameter form and verify it supports the example call with the task pattern and callback without requiring an exclusion regexp.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.