diff options
author | László Csomor <laszlocsomor@users.noreply.github.com> | 2019-03-20 18:13:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-20 18:13:32 +0100 |
commit | 3721d32c14d3639ff94320c780a60a6e658fb033 (patch) | |
tree | c7ed5027617348249a3ea26b4629c963732a2778 /tests | |
parent | aeefb6531aa30f678f0d8d40c6b5bf095408cdb5 (diff) | |
download | bazel-skylib-3721d32c14d3639ff94320c780a60a6e658fb033.tar.gz |
maprule: hide it, not ready for public use. (#133)upstream/0.8.0
Move maprule() to a private directory, to
discourage use of it. I (@laszlocsomor) am
planning breaking changes to it.
Also move private files (rule implementations) to
a subdirectory "rules/private/", to clean up the
"rules/" directory.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/maprule/BUILD | 5 | ||||
-rw-r--r-- | tests/maprule_tests.bzl | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/maprule/BUILD b/tests/maprule/BUILD index d33039e..390b96d 100644 --- a/tests/maprule/BUILD +++ b/tests/maprule/BUILD @@ -1,6 +1,9 @@ # This package aids testing the 'maprule' rule. +# +# ATTENTION: As of 2019-03-20, maprule is not ready for public use. +# @laszlocsomor is planning incompatible changes to the rule. -load("//rules:maprule.bzl", "bash_maprule") +load("//rules/private:maprule.bzl", "bash_maprule") package(default_testonly = 1) diff --git a/tests/maprule_tests.bzl b/tests/maprule_tests.bzl index ddb4418..0b63fbd 100644 --- a/tests/maprule_tests.bzl +++ b/tests/maprule_tests.bzl @@ -15,7 +15,7 @@ """Unit tests for maprule.bzl.""" load("//lib:unittest.bzl", "asserts", "unittest") -load("//rules:maprule_testing.bzl", "maprule_testing") +load("//rules/private:maprule_testing.bzl", "maprule_testing") def _dummy_generating_action(ctx, path): ctx.actions.write(path, "hello") |