Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

feat(gulp): Add the copy:localConfig task to Gulp #1191

Merged
merged 1 commit into from Feb 11, 2016

Conversation

mleanos
Copy link
Member

@mleanos mleanos commented Feb 6, 2016

Adds a task to copy the example local environment config, and save it as a development environment config.

Releated: #1175

@codydaig codydaig self-assigned this Feb 6, 2016
@codydaig codydaig added this to the 0.5.0 milestone Feb 6, 2016
@codydaig
Copy link
Member

codydaig commented Feb 6, 2016

LGTM

@codydaig codydaig assigned ilanbiala and unassigned codydaig Feb 9, 2016
@codydaig codydaig mentioned this pull request Feb 10, 2016
6 tasks
@rhutchison
Copy link
Contributor

Should copy:localConfig task come before lint? also, I don't think you want to run copy:localConfig in parallel with nodemon/watch? do you?

@@ -202,6 +203,21 @@ gulp.task('imagemin', function () {
.pipe(gulp.dest('public/dist/img'));
});

// Copy local development environment config
gulp.task('copy:localConfig', function () {
Copy link
Member

Choose a reason for hiding this comment

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

The colon syntax is a remnant from Grunt, and I'd rather it not come over to Gulp as I think it's unclear. Can we try to rename these so they make sense? How about copyLocalConfig?

@mleanos
Copy link
Member Author

mleanos commented Feb 11, 2016

@rhutchison I've updated this based on your feedback. Thanks.

Also, @ilanbiala I've renamed the Gulp task to "copyLocalEnvConfigExample". WDYT?

Let me know how it looks to you now.

@ilanbiala
Copy link
Member

That's pretty long, can you make it shorter like copyLocalEnvConfig?

Adds a task to copy the example local environment config example, and save
it as a development environment config.

Renamed the task for Gulp from copy:localConfig (Grunt naming convention) to
copyLocalEnvConfigExample.

Releated meanjs#1175
@mleanos
Copy link
Member Author

mleanos commented Feb 11, 2016

@ilanbiala Updated the name. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants