File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 88 - osx
99
1010env :
11+ - V=0.4.4
1112 - V=0.4.3
1213 - V=0.4.2
1314 - V=0.4.1
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ dependencies. This will download the nodejs toolchain including
1515``` python
1616git_repository(
1717 name = " org_pubref_rules_node" ,
18- tag = " v0.3.2 " ,
18+ tag = " v0.3.3 " ,
1919 remote = " https://github.com/pubref/rules_node.git" ,
2020)
2121
Original file line number Diff line number Diff line change @@ -24,19 +24,22 @@ def _node_toolchain_impl(ctx):
2424 fail ("Unsupported operating system: " + os )
2525
2626 ctx .symlink (noderoot , ctx .path ('' ))
27+
2728 ctx .file ("WORKSPACE" , "workspace(name = '%s')" % ctx .name )
2829 ctx .file ("BUILD" , NODE_TOOLCHAIN_BUILD_FILE )
30+ ctx .file ("BUILD.bazel" , NODE_TOOLCHAIN_BUILD_FILE )
31+
2932
3033_node_toolchain = repository_rule (
3134 _node_toolchain_impl ,
3235 attrs = {
3336 "_linux" : attr .label (
34- default = Label ("@nodejs_linux_amd64//:BUILD " ),
37+ default = Label ("@nodejs_linux_amd64//:WORKSPACE " ),
3538 allow_files = True ,
3639 single_file = True ,
3740 ),
3841 "_darwin" : attr .label (
39- default = Label ("@nodejs_darwin_amd64//:BUILD " ),
42+ default = Label ("@nodejs_darwin_amd64//:WORKSPACE " ),
4043 allow_files = True ,
4144 single_file = True ,
4245 ),
You can’t perform that action at this time.
0 commit comments