You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Other optional fields...
/// Local path to the dependency. Overrides the version requirement.
pub path: Option<String>,
/// Git repository URL. Overrides the version requirement.
pub git: Option<String>,
/// Git branch to use.
pub git_branch: Option<String>,
Is there any plan to expose these two options to end user, to allow local/private dependencies?
Motivation
Common use cases for local dependencies are:
prototyping a new module before publishing to mooncakes
private modules that are not for opensource
Checklist
I have added all necessary details to make it easy for the maintainers to understand my request.
The text was updated successfully, but these errors were encountered:
Feature Request
Summary
Currently, the
moon add
only accepts<author>/<package_name>[@<version>]
: https://github.com/moonbitlang/moon/blob/main/crates/moon/src/cli/deps.rs#L78But internally, the dependencies can be local or from git repo.
https://github.com/moonbitlang/moon/blob/main/crates/moonutil/src/dependency.rs#L28-L41
Is there any plan to expose these two options to end user, to allow local/private dependencies?
Motivation
Common use cases for local dependencies are:
Checklist
The text was updated successfully, but these errors were encountered: