Skip to content

Conversation

@juri
Copy link
Contributor

@juri juri commented Aug 25, 2024

Before this a local package defined in an included file would not respect relativePaths: true.

This fixes #1497.

This is a breaking change because this changes how paths are resolved.

Before this a local package defined in an included file would not
respect relativePaths: true.

This fixes yonaskolb#1497.
Copy link
Owner

@yonaskolb yonaskolb left a comment

Choose a reason for hiding this comment

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

Thank you @juri!
Could you also please add a test by adding a package under packages and also localPackages in tests/fixtures/paths_test and add an expectation to expands directories test in SpecLoadingTests

.object("aggregateTargets", AggregateTarget.pathProperties),
.object("schemes", Scheme.pathProperties),
.object("projectReferences", ProjectReference.pathProperties),
.object("packages", SwiftPackage.pathProperties)
Copy link
Owner

Choose a reason for hiding this comment

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

Could you add support for localPackages as well

Copy link
Owner

Choose a reason for hiding this comment

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

I've added this in another commit

Copy link
Owner

@yonaskolb yonaskolb left a comment

Choose a reason for hiding this comment

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

Thanks @juri

@yonaskolb yonaskolb merged commit 5644662 into yonaskolb:master Dec 29, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Local package path used in an included file does not respect relativePaths: true

2 participants