Skip to content

Commit 567466f

Browse files
committed
Removed resources attribute since it was not implemented
1 parent 9c8007a commit 567466f

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

prelude/decls/dotnet_rules.bzl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ _CSHARP_LIBRARY_OR_EXE_ATTRIBUTES = {
2020
The set of C# source files to be compiled, and assembled by this rule.
2121
Each element may be either a literal string (representing the path within this package), or a target.
2222
"""),
23-
"resources": attrs.dict(key = attrs.string(), value = attrs.source(), sorted = False, default = {}, doc = """
24-
Resources that should be embedded within the built DLL. The format
25-
is the name of the resource once mapped into the DLL as the key, and
26-
the value being the resource that should be merged. This allows
27-
non-unique keys to be identified quickly.
28-
"""),
2923
"framework_ver": attrs.enum(FrameworkVersion, doc = """
3024
The version of the .Net framework that this library targets. This is
3125
one of """ + ", ".join(FrameworkVersion) + """.
@@ -60,9 +54,6 @@ csharp_library = prelude_rule(
6054
srcs = [
6155
'Hello.cs',
6256
],
63-
resources = {
64-
'greeting.txt': '//some:target',
65-
},
6657
deps=[
6758
':other',
6859
'System.dll',
@@ -109,9 +100,6 @@ csharp_binary = prelude_rule(
109100
srcs = [
110101
'Hello.cs',
111102
],
112-
resources = {
113-
'greeting.txt': '//some:target',
114-
},
115103
deps=[
116104
':other',
117105
'System.dll',

0 commit comments

Comments
 (0)