File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
javascript/node/selenium-webdriver/lib/atoms Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
load ("@aspect_rules_js//js:defs.bzl" , "js_binary" , "js_run_binary" )
2
+ load ("//common:defs.bzl" , "copy_file" )
2
3
3
4
js_binary (
4
5
name = "make_atoms_module" ,
5
6
data = ["make-atoms-module.js" ],
6
7
entry_point = ":make-atoms-module.js" ,
7
8
)
8
9
9
- # genrules used to copy closure_js_binary outputs to locations
10
- # that will be picked up by the npm_package rule.
11
-
12
10
js_run_binary (
13
11
name = "is_displayed" ,
14
12
srcs = ["//javascript/atoms/fragments:is-displayed.js" ],
@@ -36,11 +34,9 @@ js_run_binary(
36
34
visibility = ["//javascript/node/selenium-webdriver:__pkg__" ],
37
35
)
38
36
39
- genrule (
37
+ copy_file (
40
38
name = "mutation-listener" ,
41
- srcs = ["//javascript/cdp-support:mutation-listener.js" ],
42
- outs = ["mutation-listener.js" ],
43
- cmd = "mv $(location //javascript/cdp-support:mutation-listener.js) $@" ,
44
- tools = [],
39
+ src = "//javascript/cdp-support:mutation-listener.js" ,
40
+ out = "mutation-listener.js" ,
45
41
visibility = ["//javascript/node/selenium-webdriver:__pkg__" ],
46
42
)
You can’t perform that action at this time.
0 commit comments