Specifying a different or custom gulpfile name/path

I was working on a website where I need to run my personal choice of workflow with the code. To automate this process, I wrote some gulp task. Now I have already a gulpfile.js in project and I want to save my task in another file say my-custom-task.js. To run this custom gulp file we can use --gulpfile option with gulp command.

Example

gulp task-name --gulpfile my-custom-task.js

Reference

View changes at https://github.com/gulpjs/gulp