mirror of
https://github.com/anoma/juvix.git
synced 2024-12-27 17:43:55 +03:00
382a4d3cef
This PR introduces a global `--offline` flag. ## Doctor This replaces the `--offline` flag on the doctor command. ## Juvix package builds The flag applies to juvix build commands like `juvix compile`, `juvix repl`. This is so that users can continue to build packages offline that have external dependencies when there's no network connection (as long as they built the same package online previously). Specifically, when the `--offline` flag is used in a package that has external git dependencies. * No `git clone` or `git fetch` commands are used * `git checkout` will continue to be used * Clones from previous builds are reused This means that you can update the `ref` field in a git dependency, as long as the ref existed the last time that the project was built without the `--offline` flag. * Closes https://github.com/anoma/juvix/issues/2333 |
||
---|---|---|
.. | ||
Options.hs |