Closed boozook closed 8 years ago
This is somewhat related to #263, but that issue is quite heavy, so let's fix this for now by checking whether the path we're removing is the same that specified in .dev
and remove the .dev
file if so.
Removing the whole library folder when last version is removed makes sense too.
Or rather, forbid removing version if its path is specified in .dev
(which will be true for vcs checkouts), so the behaviour is consistent.
Log:
After
haxelib remove h3d git
a git directory really was deleted. But not removed record about it in the .dev (devPath).Anyway I try to remove current version but no getting exception about it impossible (Main.hx#L1125).
If we can remove the current version and when the library not contain other versions => maybe we have to delete this library fully (in my case:
/Users/ak/Developer/Haxe/libs/h3d
) ?