gleam-lang/gleam

Add `path` support for git dependencies

クローズ

#4,556 opened on 2025/05/04

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (960 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (21,417 個のスター)
PR merge metrics
 (平均マージ 10d 19h) (30d で 69 merged PRs)

説明

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" }

コントリビューターガイド