gleam-lang/gleam

Add `path` support for git dependencies

Geschlossen

#4.556 geöffnet am 04.05.2025

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (960 Forks)batch import
help wanted

Repository-Metriken

Stars
 (21.417 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 10T 19h) (69 gemergte PRs in 30 T)

Beschreibung

It seems to be currently impossible to reference a package in gleam.toml which lives in a subdirectory of a git repository. We already support specifying a path in the repository section for documentation purposes, so it would seem logical to be able to do the same when depending on a package in git.

Example of how it could look (this package can't currently be referenced through git):

sketch = { git = "https://github.com/ghivert/sketch.git", ref = "main", path = "sketch" }

Contributor Guide