File tree 2 files changed +1
-6
lines changed
dotnet/private/tests/use_as_tool
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
def _run_rule_impl (ctx ):
4
4
output = ctx .actions .declare_file ("{}_out" .format (ctx .label .name ))
5
- (inputs , input_manifests ) = ctx .resolve_tools (tools = [ctx .attr .tool ])
6
5
7
6
ctx .actions .run (
8
7
outputs = [output ],
9
8
arguments = [output .path ],
10
- inputs = inputs ,
11
- input_manifests = input_manifests ,
12
9
executable = ctx .executable .tool ,
13
10
)
14
11
Original file line number Diff line number Diff line change 2
2
3
3
def _run_shell_rule_impl (ctx ):
4
4
output = ctx .actions .declare_file ("{}_out" .format (ctx .label .name ))
5
- (inputs , input_manifests ) = ctx .resolve_tools (tools = [ctx .attr .tool ])
6
5
7
6
ctx .actions .run_shell (
8
7
outputs = [output ],
9
- inputs = inputs ,
10
- input_manifests = input_manifests ,
11
8
command = "./{} {}" .format (ctx .executable .tool .path , output .path ),
9
+ tools = [ctx .executable .tool ],
12
10
)
13
11
14
12
return [DefaultInfo (files = depset ([output ]))]
You can’t perform that action at this time.
0 commit comments