Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

🐐 Bring more inline with gulp best practices #385

Closed
wants to merge 1 commit into from

Conversation

samccone
Copy link
Contributor

Extract non-specific tasks to fns to be more inline with "the gulp way✨"

Fixes #289

@addyosmani
Copy link
Member

Reviewed.

@addyosmani addyosmani self-assigned this Sep 24, 2015
@addyosmani addyosmani added this to the 1.1.1 milestone Sep 24, 2015
@samccone
Copy link
Contributor Author

updated!

@@ -49,6 +49,50 @@ var styleTask = function (stylesPath, srcs) {
.pipe($.size({title: stylesPath}));
};

var jshintTask = function (src) {
return gulp.src(src)
.pipe(reload({stream: true, once: true}))
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey, it seems to me that you are reintroducing the double reload that was removed as per PR #370, is that intended?

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 just need to rebase and it should go away (unless Git gets really confused)👌 good spot though I will doubly make sure it gets removed!

@samccone samccone force-pushed the gulp-best-practive branch 2 times, most recently from 395e925 to 6bd6cf5 Compare September 25, 2015 14:59
@samccone
Copy link
Contributor Author

yep it went away @didrocks :)

@didrocks
Copy link
Contributor

@samccone great! thanks for confirming ;)

@addyosmani
Copy link
Member

Tried running locally again. Looks like we're now breaking on the HTML task and are running into some linting issues:

polymer-starter-kit/gulpfile.js
  line 58  col 2   Missing semicolon.
  line 68  col 2   Missing semicolon.
  line 93  col 2   Missing semicolon.
  line 91  col 21  'dest' is not defined.

  ⚠  4 warnings

Extract non-specific tasks to fns to be more inline with "the gulp way✨"

Fixes #289
@samccone
Copy link
Contributor Author

should be GTG now 🏁

@addyosmani
Copy link
Member

Tested again and everything is passing now. Have some 🍰!

@samccone samccone closed this in 0dc4d13 Sep 26, 2015
@addyosmani addyosmani deleted the gulp-best-practive branch September 26, 2015 09:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants