Skip to content

Document the new gulp.task API.#937

Merged
phated merged 1 commit intogulpjs:4.0from
dinoboff:dinoboff-undertaker-doc
Mar 14, 2015
Merged

Document the new gulp.task API.#937
phated merged 1 commit intogulpjs:4.0from
dinoboff:dinoboff-undertaker-doc

Conversation

@dinoboff
Copy link
Contributor

@dinoboff dinoboff commented Mar 1, 2015

Also add the gulp.series and gulp.parallel APIs.
#803, #841 and #925

docs/API.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gulp.series

@dinoboff dinoboff force-pushed the dinoboff-undertaker-doc branch from 09fd1d7 to 798ca30 Compare March 1, 2015 00:38
docs/API.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this note still valid?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. It's not relevant in the gulp.task documentation

@dinoboff dinoboff force-pushed the dinoboff-undertaker-doc branch 2 times, most recently from 0918748 to 151b956 Compare March 1, 2015 00:48
docs/API.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should link to undertaker

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is; it's a link and its URL is defined at the end of the file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, okay

@dinoboff dinoboff force-pushed the dinoboff-undertaker-doc branch from 151b956 to 932dcef Compare March 1, 2015 00:57
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and RxJS observable

@phated
Copy link
Member

phated commented Mar 1, 2015

@dinoboff you are amazing. thanks for all the hard work

docs/API.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should note that named functions will have a .name attribute

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am changing the note to:

`Function.name` is not writable; it cannot be set or edited.
It will be empty for anonymous function:

@dinoboff dinoboff force-pushed the dinoboff-undertaker-doc branch 3 times, most recently from 5e66469 to 46392ce Compare March 1, 2015 01:30
docs/API.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phated is it ok?

@dinoboff dinoboff force-pushed the dinoboff-undertaker-doc branch 3 times, most recently from dfea21d to aaca18e Compare March 1, 2015 02:07
@dinoboff dinoboff force-pushed the dinoboff-undertaker-doc branch 7 times, most recently from da9abc3 to 1f5a825 Compare March 2, 2015 16:07
@dinoboff dinoboff force-pushed the dinoboff-undertaker-doc branch 2 times, most recently from 18985c5 to eba43ad Compare March 4, 2015 02:29
@phated
Copy link
Member

phated commented Mar 4, 2015

I'm hoping to review the vinyl-fs docs and other changes Friday night or this weekend.

docs/API.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a string? or is it an actual Octal? "0777" vs 0777

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, and both work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phated Should I reword it to:

options.mode

Type: String or Number

Default: the mode of the input file (file.stat.mode) or the process mode if the input file has no mode property.

Octal permission specifying the mode the files should be created with: e.g. "0777", 0777 or 511 (0777 in base 10).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, i think that would be more clear

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@phated
Copy link
Member

phated commented Mar 13, 2015

After my comments are addressed, I am 👍 on this

Also add the gulp.series and gulp.parallel APIs
@dinoboff dinoboff force-pushed the dinoboff-undertaker-doc branch from eba43ad to 8d73425 Compare March 13, 2015 22:06
@dinoboff
Copy link
Contributor Author

@contra can you review and merge it please?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just checked the amount of downloads on each. I'm going to switch it back to merge-stream

@phated phated merged commit 8d73425 into gulpjs:4.0 Mar 14, 2015
@phated
Copy link
Member

phated commented Mar 14, 2015

merged

@dinoboff dinoboff deleted the dinoboff-undertaker-doc branch March 14, 2015 08:39
@ashwell
Copy link

ashwell commented Apr 1, 2015

I have been playing with gulp 4.0, works great for me. In looking at the docs, a function gulp.symlink has been documented but apparently not implemented as it is undefined on the gulp instance. Looking at index.html it would seem that below line number 13 this line should be added:

Gulp.prototype.symlink = vfs.symlink;

no?

@phated
Copy link
Member

phated commented Apr 1, 2015

@ashwell good catch, just pushed the addition.

@ashwell
Copy link

ashwell commented Apr 1, 2015

YAY! I helped!

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.

6 participants