Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gulp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gulp
  • gulp
  • Merge requests
  • !567

Add new recipe for making streams from memory contents

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/AntouanK/add-new-recipe into master Jul 04, 2014
  • Overview 17
  • Commits 4
  • Pipelines 0
  • Changes 1

Created by: AntouanK

Submitted a recipe on how to make streams with contents stored in variables.

I have a the example repo here : https://github.com/AntouanK/gulp-stream-test Only problem I have with this approach is that task write-versions exits ok, but at the time it exits, the files are not written. ( add a console.log in line 77 where I resolve the promise and you'll see that it's printed after the task ends )

541 stream-test (master)$ rm -rf output/ && gulp
[09:57:20] Using gulpfile ~/CODE/stream-test/gulpfile.js
[09:57:20] Starting 'default'...
[09:57:20] Starting 'load-lib-files'...
[09:57:20] Starting 'load-versions'...
[09:57:20] Finished 'load-versions' after 7 ms
[09:57:20] Finished 'load-lib-files' after 16 ms
[09:57:20] Starting 'write-versions'...
[09:57:20] Finished 'write-versions' after 3.98 ms
[09:57:20] Finished 'default' after 21 ms
file written
file written
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/AntouanK/add-new-recipe