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

optimize build, remove bower #88

Merged
merged 1 commit into from Jun 30, 2016
Merged

optimize build, remove bower #88

merged 1 commit into from Jun 30, 2016

Conversation

spboyer
Copy link

@spboyer spboyer commented Jun 30, 2016

  • Removed bower dependency in favor of npm
  • Switched out rimraf package for del see - Deprecate robrich/gulp-rimraf#14
  • fixed jshint issues in site.js
  • added gulp build and default gulp task for clean code practices
  • modified project.json to call gulp build

@dnfclas
Copy link

dnfclas commented Jun 30, 2016

Hi @spboyer, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.

TTYL, DNFBOT;

@spboyer
Copy link
Author

spboyer commented Jun 30, 2016

@DamianEdwards - pulled in changes and resubmitted.

.pipe(csslint())
.pipe(csslint.reporter());
});

gulp.task("lint", ["jshint", "csslint"]);
gulp.task("prepublish", ["lib", "csslint", "jshint", "min"]);
Copy link
Member

Choose a reason for hiding this comment

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

Why did you have to change all the dependency tasks?

Copy link
Author

Choose a reason for hiding this comment

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

a couple reasons. First, changed to ensure to return streams where appropriate and second added dependencies to each. By doing so this makes sure that the tasks run sequentially and not in parallel.

docs -> https://github.com/gulpjs/gulp/blob/master/docs/recipes/running-tasks-in-series.md

@DamianEdwards DamianEdwards merged commit b77aba9 into aspnet:dev Jun 30, 2016
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.

None yet

3 participants