11# Notice
22
3- This is fork of [ bazelbuild/rules_closure ] ( https://github.com/bazelbuild/rules_closure ) with the following main differences:
3+ This is fork of [ bazelbuild/io_bazel_rules_closure ] ( https://github.com/bazelbuild/io_bazel_rules_closure ) with the following main differences:
44
55- the ` closure/library ` has been restored.
66- support for protobuf-javascript has been restored.
@@ -74,7 +74,7 @@ First you must [install Bazel].
7474Then you add the following to your MODULE.bazel file:
7575
7676``` bzl
77- bazel_dep(name = " rules_closure " , version = " 0.15.0" )
77+ bazel_dep(name = " io_bazel_rules_closure " , version = " 0.15.0" )
7878```
7979The root module has to declare the same override for rules_webtesting,
8080rules_scala, and google_bazel_common temporarily until they are registered
@@ -87,9 +87,9 @@ for that matter; they will be fetched automatically by Bazel.
8787
8888Please see the test directories within this project for concrete examples of usage:
8989
90- - [ //closure/testing/test] ( https://github.com/bazelbuild/rules_closure /tree/master/closure/testing/test )
91- - [ //closure/compiler/test] ( https://github.com/bazelbuild/rules_closure /tree/master/closure/compiler/test )
92- - [ //closure/stylesheets/test] ( https://github.com/bazelbuild/rules_closure /tree/master/closure/stylesheets/test )
90+ - [ //closure/testing/test] ( https://github.com/bazelbuild/io_bazel_rules_closure /tree/master/closure/testing/test )
91+ - [ //closure/compiler/test] ( https://github.com/bazelbuild/io_bazel_rules_closure /tree/master/closure/compiler/test )
92+ - [ //closure/stylesheets/test] ( https://github.com/bazelbuild/io_bazel_rules_closure /tree/master/closure/stylesheets/test )
9393
9494
9595# Reference
@@ -98,7 +98,7 @@ Please see the test directories within this project for concrete examples of usa
9898## closure\_ js\_ library
9999
100100``` starlark
101- load(" @rules_closure //closure:defs.bzl" , " closure_js_library" )
101+ load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_js_library" )
102102closure_js_library(name, srcs, data, deps, exports, suppress, convention,
103103 no_closure_library)
104104```
@@ -198,7 +198,7 @@ This rule can be referenced as though it were the following:
198198## closure\_ js\_ binary
199199
200200``` starlark
201- load(" @rules_closure //closure:defs.bzl" , " closure_js_binary" )
201+ load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_js_binary" )
202202closure_js_binary(name, deps, css, debug, language, entry_points,
203203 dependency_mode, compilation_level, formatting,
204204 output_wrapper, property_renaming_report, defs)
@@ -311,7 +311,7 @@ This rule can be referenced as though it were the following:
311311- ** defs:** (List of strings; optional) Specifies additional flags to be passed
312312 to the Closure Compiler, e.g. ` "--hide_warnings_for=some/path/" ` . To see what
313313 flags are available, run:
314- ` bazel run @rules_closure //third_party/java/jscomp:main -- --help `
314+ ` bazel run @io_bazel_rules_closure //third_party/java/jscomp:main -- --help `
315315
316316### Support for AngularJS
317317
@@ -332,7 +332,7 @@ closure_js_binary(
332332## closure\_ js\_ test
333333
334334``` starlark
335- load(" @rules_closure //closure:defs.bzl" , " closure_js_test" )
335+ load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_js_test" )
336336closure_js_test(name, srcs, data, deps, css, html, language, suppress,
337337 compilation_level, entry_points, defs)
338338```
@@ -404,7 +404,7 @@ This rule can be referenced as though it were the following:
404404## phantomjs\_ test
405405
406406``` starlark
407- load(" @rules_closure //closure:defs.bzl" , " phantomjs_test" )
407+ load(" @io_bazel_rules_closure //closure:defs.bzl" , " phantomjs_test" )
408408phantomjs_test(name, data, deps, html, harness, runner)
409409```
410410
@@ -433,17 +433,17 @@ This rule can be referenced as though it were the following:
433433 ` <script> ` tag based on a depth-first preordering.
434434
435435- ** html:** (Label; optional; default is
436- ` "@rules_closure //closure/testing:empty.html" ` ) HTML file containing
436+ ` "@io_bazel_rules_closure //closure/testing:empty.html" ` ) HTML file containing
437437 DOM structure of virtual web page * before* ` <script> ` tags are automatically
438438 inserted. Do not include a doctype in this file.
439439
440440- ** harness:** (Label; required; default is
441- ` "@rules_closure //closure/testing:phantomjs_harness" ` ) JS binary or
441+ ` "@io_bazel_rules_closure //closure/testing:phantomjs_harness" ` ) JS binary or
442442 library exporting a single source file, to be used as the PhantomJS outer
443443 script.
444444
445445- ** runner:** (Label; optional; default is
446- ` "@rules_closure //closure/testing:phantomjs_jsunit_runner" ` ) Same as
446+ ` "@io_bazel_rules_closure //closure/testing:phantomjs_jsunit_runner" ` ) Same as
447447 ` deps ` but guaranteed to be loaded inside the virtual web page last. This
448448 should run whatever tests got loaded by ` deps ` and then invoke ` callPhantom `
449449 to report the result to the ` harness ` .
@@ -452,7 +452,7 @@ This rule can be referenced as though it were the following:
452452## closure\_ css\_ library
453453
454454``` starlark
455- load(" @rules_closure //closure:defs.bzl" , " closure_css_library" )
455+ load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_css_library" )
456456closure_css_library(name, srcs, data, deps)
457457```
458458
@@ -515,7 +515,7 @@ This rule can be referenced as though it were the following:
515515## closure\_ css\_ binary
516516
517517``` starlark
518- load(" @rules_closure //closure:defs.bzl" , " closure_css_binary" )
518+ load(" @io_bazel_rules_closure //closure:defs.bzl" , " closure_css_binary" )
519519closure_css_binary(name, deps, renaming, debug, defs)
520520```
521521
@@ -624,7 +624,7 @@ This rule can be referenced as though it were the following:
624624[ Closure Tools ] : https://developers.google.com/closure/
625625[ Closure coding conventions ] : https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/ClosureCodingConvention.java
626626[ ECMASCRIPT6 ] : http://es6-features.org/
627- [ Exports and Entry Points ] : https://github.com/bazelbuild/rules_closure /blob/master/closure/compiler/test/exports_and_entry_points/BUILD
627+ [ Exports and Entry Points ] : https://github.com/bazelbuild/io_bazel_rules_closure /blob/master/closure/compiler/test/exports_and_entry_points/BUILD
628628[ Google JavaScript Style Guide ] : https://google.github.io/styleguide/jsguide.html
629629[ Google coding conventions ] : https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/GoogleCodingConvention.java
630630[ Name ] : https://docs.bazel.build/versions/master/build-ref.html#name
@@ -634,7 +634,7 @@ This rule can be referenced as though it were the following:
634634[ asserts ] : https://github.com/google/closure-library/blob/master/closure/goog/testing/asserts.js#L1308
635635[ base.js ] : https://github.com/google/closure-library/blob/master/closure/goog/base.js
636636[ install Bazel ] : https://docs.bazel.build/versions/master/install.html
637- [ blockers ] : https://github.com/bazelbuild/rules_closure /labels/launch%20blocker
637+ [ blockers ] : https://github.com/bazelbuild/io_bazel_rules_closure /labels/launch%20blocker
638638[ closure_css_binary ] : #closure_css_binary
639639[ closure_css_library ] : #closure_css_library
640640[ closure_grpc_web_library ] : https://github.com/grpc/grpc-web/blob/9b7b2d5411c486aa646ba2491cfd894d5352775b/bazel/closure_grpc_web_library.bzl#L149
@@ -646,7 +646,7 @@ This rule can be referenced as though it were the following:
646646[ css-sourcemap ] : https://developer.chrome.com/devtools/docs/css-preprocessors
647647[ dependency ] : https://docs.bazel.build/versions/master/build-ref.html#dependencies
648648[ filegroup ] : https://docs.bazel.build/versions/master/be/general.html#filegroup
649- [ idom-example ] : https://github.com/bazelbuild/rules_closure /blob/80d493d5ffc3099372929a8cd4a301da72e1b43f/closure/templates/test/greeter_idom.js
649+ [ idom-example ] : https://github.com/bazelbuild/io_bazel_rules_closure /blob/80d493d5ffc3099372929a8cd4a301da72e1b43f/closure/templates/test/greeter_idom.js
650650[ java_library.exports ] : https://docs.bazel.build/versions/master/be/java.html#java_library.exports
651651[ java_library ] : https://docs.bazel.build/versions/master/be/java.html#java_library
652652[ jquery ] : http://jquery.com/
0 commit comments