Skip to content

crate_universe: Use tera for generating top-level repository rules #652

Closed
@illicitonion

Description

@illicitonion

Right now in crate_universe we do hand-crafted string templating for the http_archive/git_repository rules, and then invoke tera for the build_file_contents.

We shouldn't be doing hand-crafted string templating. We should also have some unit tests for "this crate turns into this output", rather than only testing generation with integration tests.

I'll put together a patch :)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions