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

haxelib install should not install dependencies if they exist as a "dev" or "git" library already #174

Closed
jgranick opened this issue Mar 5, 2015 · 3 comments
Assignees
Milestone

Comments

@jgranick
Copy link
Contributor

jgranick commented Mar 5, 2015

When you run haxelib install, dependencies are installed, even if they already exist.

For example, if you have OpenFL and Lime set up as haxelib dev directories, installing HaxeFlixel will force the download of both libraries before finishing the install.

@jgranick jgranick changed the title haxelib install should not install dependencies if they exist as a "dev" library already haxelib install should not install dependencies if they exist as a "dev" or "git" library already Mar 5, 2015
@ncannasse
Copy link
Member

Oh, that's because we assume that "dev" is outdated. That should not be the case for dependencies indeed, unless the version number is explicitly required in the dependency

@nadako
Copy link
Member

nadako commented Mar 10, 2016

This is now fixed thanks to @ibilon, however note that we want to lose dev-mode for git/hg installs (see #263 and #238), which means that it'll probably "consider vcs checkouts it as outdated" again at some point. This is probably correct however, because we also want to implement multiple vcs checkouts support (see #238).

@grosmar
Copy link

grosmar commented Mar 10, 2016

which means that it'll probably "consider vcs checkouts it as outdated" again at some point

Actually there is an implementation in haxelib to update the repository (haxelib update), and according to the changes that i make won't clone the repository again when you will call haxelib install ...
So this way all your local changes will remain there.

I hope i've understood correctly the problem...

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

No branches or pull requests

5 participants