Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom local directories and wildcard versions #386

Closed
wants to merge 14 commits into from

Conversation

jgranick
Copy link
Contributor

@jgranick jgranick commented May 23, 2017

This adds support for two additional features:

Custom Local Directories

haxelib dev enables the use of a custom local directory, but forces an "override always" behavior that can be undesirable. This adds support for custom named directories, with the default being called "local". The current syntax is as follows:

haxelib install path/to/mylib
haxelib install path/to/mylib custom_name

haxelib install path/to/mylib will install "local" with a path to "path/to/mylib", while adding the optional "custom_name" argument installs it as "custom_name"

1.0.0 1.0.1 [local:path/to/mylib]

You should be able to remove, set and path similar to other types of versions

Wildcard Versions

There is also added support for wildcard versioning:

haxelib version mylib
haxelib version mylib:1.0.0
haxelib version mylib:1.*
haxelib version mylib:1.0*
haxelib version mylib:1.0.0-*
haxelib version mylib:1.0.0-beta*

This should work for "install" and "path", there may be some commands (such as "set") that still need to have support added

I would be happy to discuss these features, and how they can be polished to fit in best

@tobil4sk
Copy link
Member

Closing. "Local" versions are no longer needed as dev no longer overrides when specific versions passed into path (7bd9263) or run (63baf8a), and installing locally from zip is also available. The remaining changes would probably require a new PR.

@tobil4sk tobil4sk closed this Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants