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

Keep scope when calling haxe cli from haxelib run #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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