diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2016-02-17 21:46:22 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2016-02-17 22:53:57 +0000 |
commit | 653df8813dd74042e8e084eeae238a8b9f16a3ca (patch) | |
tree | 95457f3f31e6179ae697abab81df3f3d0271881d /examples | |
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 'examples')
0 files changed, 0 insertions, 0 deletions