diff options
author | 2016-02-17 21:46:22 +0000 | |
---|---|---|
committer | 2016-02-17 22:53:57 +0000 | |
commit | 653df8813dd74042e8e084eeae238a8b9f16a3ca (patch) | |
tree | 95457f3f31e6179ae697abab81df3f3d0271881d /src/test/java/com/google/devtools/build/lib/rules/repository/RepositoryFunctionTest.java | |
parent | 8af7f68e056ce2013302a4d54c3b2a76b3130ce8 (diff) |
Introduce SkylarkRepositoryModule
The SkylarkRepositoryModule declare the `repository_rule` function
to Skylark to define new remote repository types (http://goo.gl/OZV3o0).
The work is delagated to the `SkylarkRepositoryFunction` by the
`RepositoryDelegatorFunction`. `SkylarkRepositoryContext` defines the
`ctx` object passed to the `repository_rule` implementation function.
This change also introduce a `SkylarkPath` and the necessary methods
in `SkylarkRepositoryContext` to showcase the creation of a
`local_repository` like repository.
Issue #893: step 3 of the roadmap http://goo.gl/OZV3o0.
--
MOS_MIGRATED_REVID=114895003
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/rules/repository/RepositoryFunctionTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/rules/repository/RepositoryFunctionTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/repository/RepositoryFunctionTest.java b/src/test/java/com/google/devtools/build/lib/rules/repository/RepositoryFunctionTest.java index 84a17b2794..1b7cb5f68e 100644 --- a/src/test/java/com/google/devtools/build/lib/rules/repository/RepositoryFunctionTest.java +++ b/src/test/java/com/google/devtools/build/lib/rules/repository/RepositoryFunctionTest.java @@ -53,7 +53,7 @@ public class RepositoryFunctionTest extends BuildViewTestCase { } @Override - protected boolean isLocal() { + protected boolean isLocal(Rule rule) { return false; } |