-
Notifications
You must be signed in to change notification settings - Fork 7
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
chore: Refactor package packing #26
Open
Youssef1313
wants to merge
3
commits into
unoplatform:main
Choose a base branch
from
Youssef1313:refactor-packaging
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard1.0</TargetFramework> | ||
<MinClientVersion>5.0.0</MinClientVersion> | ||
<PackageId>Uno.Fonts.Fluent</PackageId> | ||
<Title>Uno Platform Fluent Font</Title> | ||
<Authors>Uno Platform</Authors> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<RequireLicenseAcceptance>false</RequireLicenseAcceptance> | ||
<PackageProjectUrl>https://github.com/unoplatform/uno.fonts</PackageProjectUrl> | ||
<PackageIcon>icon.png</PackageIcon> | ||
<Description>Uno Platform Fluent Font (Windows 11 iconography)</Description> | ||
<Copyright>Copyright (C) 2015-2023 Uno Platform inc. - all rights reserved</Copyright> | ||
<RepositoryType>git</RepositoryType> | ||
<RepositoryUrl>https://github.com/unoplatform/uno.fonts.git</RepositoryUrl> | ||
<IncludeBuildOutput>false</IncludeBuildOutput> | ||
|
||
<!-- https://github.com/NuGet/Home/issues/8583 --> | ||
<NoWarn>$(NoWarn);NU5128</NoWarn> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="icon.png" Pack="true" PackagePath="\"/> | ||
<None Include="buildTransitive/**/*.*" Pack="true" PackagePath="buildTransitive" /> | ||
<None Include="../webfonts/Uno Fluent Icons/uno-fluentui-assets.ttf" Pack="true" PackagePath="buildTransitive/Fonts" /> | ||
</ItemGroup> | ||
</Project> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,8 @@ | |
<PropertyGroup Condition="'$(UnoFontsFluentDisableImport)'==''"> | ||
<UnoPlatformDefaultSymbolsFontFamily>ms-appx://uno.fonts.fluent/Fonts/uno-fluentui-assets.ttf</UnoPlatformDefaultSymbolsFontFamily> | ||
</PropertyGroup> | ||
|
||
<Target Name="_UnoAddPriMarker" AfterTargets="ResolvePackageAssets"> | ||
<_UnoPriFiles Include="$(MSBuildThisFileDirectory)uno.fonts.fluent.uprimarker" /> | ||
</Target> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The intention of this target is to let Uno correctly detect uprimarker and properly find the font file during |
||
</Project> |
File renamed without changes.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could also be
BeforeTargets="_UnoFindPackageAssetMarkers"
. I think both should work.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to avoid relying on an internal implementation detail of the marker resolution assembly (assuming that most libraries will also contain code). We still have additional work to do on fonts (default text font), and this may be part of it to include a more robust way of creating font-only packages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand the problem with relying on the internal implementation detail. But anyway, let me revert this part for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The use of
_UnoPriFiles
is an internal implementation detail at this time.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeromelaban Does it look better now?