-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
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#L78
But internally, the dependencies can be local or from git repo.
https://github.com/moonbitlang/moon/blob/main/crates/moonutil/src/dependency.rs#L28-L41
// 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.
DamianReeves
Metadata
Metadata
Assignees
Labels
No labels