diff options
author | Tony Aiuto <aiuto@google.com> | 2023-02-09 14:11:13 -0500 |
---|---|---|
committer | Tony Aiuto <aiuto@google.com> | 2023-02-09 14:11:13 -0500 |
commit | df22d7959456a7f3aa8298f41080ccd4126b7985 (patch) | |
tree | 75683af855d676876df42daccecc4e750621dd18 | |
parent | 51ce23181db90d4ce2daeb77fd891ea4d6f5633c (diff) | |
download | bazelbuild-rules_license-df22d7959456a7f3aa8298f41080ccd4126b7985.tar.gz |
rename vendor to vndor so that compliance lint stops complaining
-rw-r--r-- | examples/src/BUILD | 6 | ||||
-rw-r--r-- | examples/src/server_licenses_test.py | 4 | ||||
-rw-r--r-- | examples/vndor/README.md (renamed from examples/vendor/README.md) | 0 | ||||
-rw-r--r-- | examples/vndor/acme/ACME_LICENSE (renamed from examples/vendor/acme/ACME_LICENSE) | 0 | ||||
-rw-r--r-- | examples/vndor/acme/BUILD (renamed from examples/vendor/acme/BUILD) | 0 | ||||
-rw-r--r-- | examples/vndor/acme/coyote.cc (renamed from examples/vendor/acme/coyote.cc) | 0 | ||||
-rw-r--r-- | examples/vndor/constant_gen/BUILD (renamed from examples/vendor/constant_gen/BUILD) | 0 | ||||
-rw-r--r-- | examples/vndor/constant_gen/LICENSE (renamed from examples/vendor/constant_gen/LICENSE) | 0 | ||||
-rw-r--r-- | examples/vndor/constant_gen/LICENSE.on_output (renamed from examples/vendor/constant_gen/LICENSE.on_output) | 0 | ||||
-rw-r--r-- | examples/vndor/constant_gen/constant_generator.py (renamed from examples/vendor/constant_gen/constant_generator.py) | 0 | ||||
-rw-r--r-- | examples/vndor/constant_gen/defs.bzl (renamed from examples/vendor/constant_gen/defs.bzl) | 6 | ||||
-rw-r--r-- | examples/vndor/constant_gen/verify_licenses_test.py (renamed from examples/vendor/constant_gen/verify_licenses_test.py) | 8 | ||||
-rw-r--r-- | examples/vndor/libhhgttg/BUILD (renamed from examples/vendor/libhhgttg/BUILD) | 0 | ||||
-rw-r--r-- | examples/vndor/libhhgttg/LICENSE (renamed from examples/vendor/libhhgttg/LICENSE) | 0 | ||||
-rw-r--r-- | examples/vndor/libhhgttg/answer.cc (renamed from examples/vendor/libhhgttg/answer.cc) | 0 |
15 files changed, 12 insertions, 12 deletions
diff --git a/examples/src/BUILD b/examples/src/BUILD index 8567e81..cd5e985 100644 --- a/examples/src/BUILD +++ b/examples/src/BUILD @@ -14,7 +14,7 @@ # Examples of applications and interactions with licenses load("@rules_license//rules:compliance.bzl", "check_license", "licenses_used") -load("@rules_license//examples/vendor/constant_gen:defs.bzl", "constant_gen") +load("@rules_license//examples/vndor/constant_gen:defs.bzl", "constant_gen") package( default_package_metadata = ["//:license", "//:package_info"], @@ -71,7 +71,7 @@ cc_binary( srcs = ["server.cc"], deps = [ ":message", - "@rules_license//examples/vendor/acme", - "@rules_license//examples/vendor/libhhgttg", + "@rules_license//examples/vndor/acme", + "@rules_license//examples/vndor/libhhgttg", ], ) diff --git a/examples/src/server_licenses_test.py b/examples/src/server_licenses_test.py index c7c30da..66a20a5 100644 --- a/examples/src/server_licenses_test.py +++ b/examples/src/server_licenses_test.py @@ -32,10 +32,10 @@ class ServerLicensesTest(unittest.TestCase): expected = { "/examples/src:message_src_": [ - "/examples/vendor/constant_gen:license_for_emitted_code" + "/examples/vndor/constant_gen:license_for_emitted_code" ], "/examples/src:message": [ - "/examples/vendor/constant_gen:license_for_emitted_code" + "/examples/vndor/constant_gen:license_for_emitted_code" ], } license_test_utils.check_licenses_of_dependencies( diff --git a/examples/vendor/README.md b/examples/vndor/README.md index 273dea6..273dea6 100644 --- a/examples/vendor/README.md +++ b/examples/vndor/README.md diff --git a/examples/vendor/acme/ACME_LICENSE b/examples/vndor/acme/ACME_LICENSE index 53a5daf..53a5daf 100644 --- a/examples/vendor/acme/ACME_LICENSE +++ b/examples/vndor/acme/ACME_LICENSE diff --git a/examples/vendor/acme/BUILD b/examples/vndor/acme/BUILD index 09da19d..09da19d 100644 --- a/examples/vendor/acme/BUILD +++ b/examples/vndor/acme/BUILD diff --git a/examples/vendor/acme/coyote.cc b/examples/vndor/acme/coyote.cc index d637855..d637855 100644 --- a/examples/vendor/acme/coyote.cc +++ b/examples/vndor/acme/coyote.cc diff --git a/examples/vendor/constant_gen/BUILD b/examples/vndor/constant_gen/BUILD index 5f2ff43..5f2ff43 100644 --- a/examples/vendor/constant_gen/BUILD +++ b/examples/vndor/constant_gen/BUILD diff --git a/examples/vendor/constant_gen/LICENSE b/examples/vndor/constant_gen/LICENSE index 861da0d..861da0d 100644 --- a/examples/vendor/constant_gen/LICENSE +++ b/examples/vndor/constant_gen/LICENSE diff --git a/examples/vendor/constant_gen/LICENSE.on_output b/examples/vndor/constant_gen/LICENSE.on_output index b699638..b699638 100644 --- a/examples/vendor/constant_gen/LICENSE.on_output +++ b/examples/vndor/constant_gen/LICENSE.on_output diff --git a/examples/vendor/constant_gen/constant_generator.py b/examples/vndor/constant_gen/constant_generator.py index 432b6be..432b6be 100644 --- a/examples/vendor/constant_gen/constant_generator.py +++ b/examples/vndor/constant_gen/constant_generator.py diff --git a/examples/vendor/constant_gen/defs.bzl b/examples/vndor/constant_gen/defs.bzl index 33aa419..518437c 100644 --- a/examples/vendor/constant_gen/defs.bzl +++ b/examples/vndor/constant_gen/defs.bzl @@ -32,7 +32,7 @@ _constant_gen = rule( "text": attr.string(mandatory = True), "var": attr.string(mandatory = False), "_generator": attr.label( - default = Label("@rules_license//examples/vendor/constant_gen:constant_generator"), + default = Label("@rules_license//examples/vndor/constant_gen:constant_generator"), executable = True, allow_files = True, cfg = "exec", @@ -47,12 +47,12 @@ def constant_gen(name, text, var): src_out = name + "_src_.cc", text = text, var = var, - applicable_licenses = ["@rules_license//examples/vendor/constant_gen:license_for_emitted_code"], + applicable_licenses = ["@rules_license//examples/vndor/constant_gen:license_for_emitted_code"], ) # And turn it into a library we can link against native.cc_library( name = name, srcs = [name + "_src_"], - applicable_licenses = ["@rules_license//examples/vendor/constant_gen:license_for_emitted_code"], + applicable_licenses = ["@rules_license//examples/vndor/constant_gen:license_for_emitted_code"], ) diff --git a/examples/vendor/constant_gen/verify_licenses_test.py b/examples/vndor/constant_gen/verify_licenses_test.py index 4fddef8..917e600 100644 --- a/examples/vendor/constant_gen/verify_licenses_test.py +++ b/examples/vndor/constant_gen/verify_licenses_test.py @@ -13,8 +13,8 @@ class VerifyLicensesTest(unittest.TestCase): os.path.join(os.path.dirname(__file__), "generator_licenses.json")) expected = { - "examples/vendor/constant_gen:constant_generator": [ - "examples/vendor/constant_gen:license" + "examples/vndor/constant_gen:constant_generator": [ + "examples/vndor/constant_gen:license" ], } license_test_utils.check_licenses_of_dependencies( @@ -25,10 +25,10 @@ class VerifyLicensesTest(unittest.TestCase): os.path.join(os.path.dirname(__file__), "generated_code_licenses.json")) expected = { - "examples/vendor/constant_gen:libhello": [ + "examples/vndor/constant_gen:libhello": [ "/constant_gen:license_for_emitted_code", ], - "examples/vendor/constant_gen:libhello_src_": [ + "examples/vndor/constant_gen:libhello_src_": [ "/constant_gen:license_for_emitted_code", ], } diff --git a/examples/vendor/libhhgttg/BUILD b/examples/vndor/libhhgttg/BUILD index b9e3991..b9e3991 100644 --- a/examples/vendor/libhhgttg/BUILD +++ b/examples/vndor/libhhgttg/BUILD diff --git a/examples/vendor/libhhgttg/LICENSE b/examples/vndor/libhhgttg/LICENSE index 660e329..660e329 100644 --- a/examples/vendor/libhhgttg/LICENSE +++ b/examples/vndor/libhhgttg/LICENSE diff --git a/examples/vendor/libhhgttg/answer.cc b/examples/vndor/libhhgttg/answer.cc index 440bc62..440bc62 100644 --- a/examples/vendor/libhhgttg/answer.cc +++ b/examples/vndor/libhhgttg/answer.cc |