Zulip Chat Archive

Stream: lean4

Topic: multiple packages in one repo with Lake


Simon Hudon (Jan 16 2022 at 20:37):

Does Lake support repos that contain multiple packages? Specifically, I'd like add a dependency like this "github.com/myaccount/myrepo/some-directory-in -the-repo". Is this feasible?

Xubai Wang (Jan 17 2022 at 01:50):

The dir field of Dependency structure is intended for this.

For your information, the definition is at https://github.com/leanprover/lake/blob/126144d4516b11748866298c86041ede2303f809/Lake/Config/Package.lean#L75
and as an example:
https://github.com/leanprover/lake/blob/126144d4516b11748866298c86041ede2303f809/examples/git/lakefile.lean

Simon Hudon (Jan 17 2022 at 02:05):

Great! Thanks!


Last updated: Dec 20 2023 at 11:08 UTC