Gedichte
Musik
Bilder
Quellcodebibliothek
Diashow
Normaldarstellung
Quellcodebibliothek
Statistik
Leitseite
products
/
sources
/
formale Sprachen
/
C
/
Firefox
/
toolkit
/
components
/
glean
/
docs
/
dev
/ (
Browser von der Mozilla Stiftung
Version 136.0.1
©
) Datei vom 10.2.2025 mit Größe 1016 B
Quelle local_glean.md Sprache: unbekannt
# Developing with a local Glean build
FOG uses a release version of Glean, as published on [crates.io][cratesio-glean].
For local development and try runs you can replace this Glean implementation with a local or rem
ote version.
Using a path to a local checkout of <
https://github.com/mozilla/glean
>:
```
./mach glean dev ../path/to/glean
```
Using a remote branch of your Glean fork:
```
./mach glean dev
https://github.com/myfork/glean
my-feature-branch
```
A remote `git` reference works for try runs as well,
but a `path` dependency will not.
Please ensure you do not land a non-release version of Glean.
To switch back to a normal build with a release Glean version:
```
./mach glean prod
```
You can also manually reset the changes to `Cargo.toml`, `Cargo.lock` and in `third_party/ru
st`.
[cratesio-glean]:
https://crates.io/crates/glean
[cargo-doc]:
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.ht
ml#specifying-dependencies-from-git-repositories
[semver]:
https://semver.org/
[ Dauer der Verarbeitung: 0.3 Sekunden (vorverarbeitet)
]
2026-04-02