-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## What? * Fix resolution in packages that have disjoint lib and ref folders. * Make `nuget_repo` take in a map of TFM to deps so that the dependency graph for each TFM is more accurate * Update paket2bazel so that it generates correct deps per TFM
- Loading branch information
Showing
15 changed files
with
339 additions
and
246 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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
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
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
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,20 @@ | ||
"NuGet structure tests" | ||
|
||
load("//dotnet/private/tests/nuget_structure:common.bzl", "nuget_structure_test", "nuget_test_wrapper") | ||
|
||
# buildifier: disable=unnamed-macro | ||
def resolution_structure(): | ||
"Tests for the resolution of files depending on target framework" | ||
nuget_test_wrapper( | ||
name = "System.Memory.netstandard2.0", | ||
target_framework = "netstandard2.0", | ||
runtime_identifier = "linux-x64", | ||
package = "@rules_dotnet_dev_nuget_packages//system.memory", | ||
) | ||
|
||
nuget_structure_test( | ||
name = "should_resolve_system.memory_netstandard2.0_linux-x64_correctly", | ||
target_under_test = ":System.Memory.netstandard2.0", | ||
expected_libs = ["lib/netstandard2.0/System.Memory.dll"], | ||
expected_refs = [], | ||
) |
Oops, something went wrong.