Skip to content

Conversation

starburst997
Copy link

Basically the issue is with some haxelib run command that call other haxe command (for example: lime rebuild mac), since the cwd would be inside the repo directory the scope then become the global one if no .haxerc file is present in the repo, so you get errors like "no haxelib named lime installed" from haxelib path.

This keeps the scope intact from the first haxelib run using an environment variable.

Perhaps not the best way of handling this particular issue, so feel free to close it but it did fix all of my issues from calling OpenFL's CLI using Lix (only way to fix it otherwise is to install it globally which kind of defeats the purpose).

@starburst997
Copy link
Author

Maybe there could be a flag in the .haxerc for this?

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.

1 participant