Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Shared props/targets #111

Merged
merged 3 commits into from
Dec 5, 2020
Merged

Conversation

JimBobSquarePants
Copy link
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following matches the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

  • Updates the solution to use the shared props/targets
  • Cleans up all warnings in the solution.
  • Adds Mac OSX CI workflow plus additional enhancements from ImageSharp.

@codecov
Copy link

codecov bot commented Dec 3, 2020

Codecov Report

Merging #111 (f9b7929) into master (3d737b5) will increase coverage by 0.19%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
+ Coverage   70.82%   71.01%   +0.19%     
==========================================
  Files          86       86              
  Lines        5600     5465     -135     
  Branches     1119     1119              
==========================================
- Hits         3966     3881      -85     
+ Misses       1409     1359      -50     
  Partials      225      225              
Flag Coverage Δ
unittests 71.01% <ø> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rc/ImageSharp.Drawing/Shapes/RectangularPolygon.cs 88.19% <0.00%> (-0.55%) ⬇️
src/ImageSharp.Drawing/Processing/SolidBrush.cs 92.10% <0.00%> (-0.40%) ⬇️
src/ImageSharp.Drawing/Processing/PatternBrush.cs 85.41% <0.00%> (-0.30%) ⬇️
src/ImageSharp.Drawing/Shapes/Star.cs 92.30% <0.00%> (-0.29%) ⬇️
src/ImageSharp.Drawing/Shapes/ComplexPolygon.cs 74.78% <0.00%> (-0.22%) ⬇️
...arp.Drawing/Shapes/Rasterization/ActiveEdgeList.cs 98.14% <0.00%> (-0.15%) ⬇️
src/ImageSharp.Drawing/Shapes/Clipper/clipper.cs 48.08% <0.00%> (-0.12%) ⬇️
src/ImageSharp.Drawing/Shapes/InternalPath.cs 90.22% <0.00%> (-0.11%) ⬇️
src/ImageSharp.Drawing/Shapes/Outliner.cs 95.40% <0.00%> (-0.11%) ⬇️
src/ImageSharp.Drawing/Shapes/PathBuilder.cs 93.58% <0.00%> (-0.09%) ⬇️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d737b5...f9b7929. Read the comment docs.

Copy link
Member

@antonfirsov antonfirsov left a comment

Choose a reason for hiding this comment

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

Didn't get to drawing yet, but I see 999 build warnings in main lib's ImageSharp.Test project per build target. We should fix that before propagating the changes further.

Most of them are "this should not follow that" and underscore rules, not applicable in test code.

@JimBobSquarePants
Copy link
Member Author

JimBobSquarePants commented Dec 5, 2020

Didn't get to drawing yet, but I see 999 build warnings in main lib's ImageSharp.Test project per build target. We should fix that before propagating the changes further.

I don't think your submodule is loaded properly or something. I brought it down to zero from over 1200 warnings.

is-d-sdk
is-d-sdk-jb

@antonfirsov
Copy link
Member

antonfirsov commented Dec 5, 2020

@JimBobSquarePants ah sorry you may be right will doublecheck tomorrow! Forgot that sobmodule update typically goes always wrong 😅

Copy link
Member

@antonfirsov antonfirsov left a comment

Choose a reason for hiding this comment

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

@JimBobSquarePants this ImageSharp.Drawing PR is fine, but still I get those warnings dotnet build-ing the main library's test project even on a fresh clone on master. (After standard git submodule update --init --recursive).

Nice job cleaning up the Drawing project, and the overall effort across the SixLabors infra. No idea why is it OK here and not OK in ImageSharp.

@antonfirsov
Copy link
Member

Opened SixLabors/ImageSharp#1460 to properly track the problem.

@JimBobSquarePants JimBobSquarePants merged commit ab51be9 into master Dec 5, 2020
@JimBobSquarePants JimBobSquarePants deleted the js/shared-props-targets branch December 5, 2020 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants