-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating .NET Bazel build rules for NuGet dependency versions
- Loading branch information
Showing
12 changed files
with
92 additions
and
2 deletions.
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
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 |
---|---|---|
@@ -1 +1,7 @@ | ||
exports_files(["json.net.bzl"]) | ||
exports_files([ | ||
"newtonsoft.json.bzl", | ||
"moq.bzl", | ||
"nunit.bzl", | ||
"castle.core.bzl", | ||
"system.threading.tasks.extensions.bzl" | ||
]) |
Binary file not shown.
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,12 @@ | ||
package(default_visibility = [ "//visibility:public" ]) | ||
load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "net_import_library", "core_import_library") | ||
|
||
net_import_library( | ||
name = "net45", | ||
src = "lib/net45/Castle.Core.dll", | ||
) | ||
|
||
core_import_library( | ||
name = "netcore", | ||
src = "lib/netstandard15/Castle.Core.dll" | ||
) |
Binary file not shown.
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,20 @@ | ||
package(default_visibility = [ "//visibility:public" ]) | ||
load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "net_import_library", "core_import_library") | ||
|
||
net_import_library( | ||
name = "net45", | ||
src = "lib/net45/Moq.dll", | ||
deps = [ | ||
"@castle.core//:net45", | ||
"@system.threading.tasks.extensions//:net45", | ||
], | ||
) | ||
|
||
core_import_library( | ||
name = "netcore", | ||
src = "lib/netstandard13/Moq.dll", | ||
deps = [ | ||
"@castle.core//:netcore", | ||
"@system.threading.tasks.extensions//:netcore", | ||
], | ||
) |
File renamed without changes.
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,12 @@ | ||
package(default_visibility = [ "//visibility:public" ]) | ||
load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "net_import_library", "core_import_library") | ||
|
||
net_import_library( | ||
name = "net45", | ||
src = "lib/net45/nunit.framework.dll" | ||
) | ||
|
||
core_import_library( | ||
name = "netcore", | ||
src = "lib/netstandard20/nunit.framework.dll" | ||
) |
Binary file added
BIN
+120 KB
third_party/dotnet/nuget/packages/system.threading.tasks.extensions.4.5.1.nupkg
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
third_party/dotnet/nuget/packages/system.threading.tasks.extensions.bzl
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,12 @@ | ||
package(default_visibility = [ "//visibility:public" ]) | ||
load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "net_import_library", "core_import_library") | ||
|
||
net_import_library( | ||
name = "net45", | ||
src = "lib/netstandard1.0/System.Threading.Tasks.Extensions.dll", | ||
) | ||
|
||
core_import_library( | ||
name = "netcore", | ||
src = "lib/netstandard2.0/System.Threading.Tasks.Extensions.dll" | ||
) |