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

OS Specific Paths for Haxe Location #73

Open
Aidan63 opened this issue Oct 22, 2022 · 1 comment
Open

OS Specific Paths for Haxe Location #73

Aidan63 opened this issue Oct 22, 2022 · 1 comment

Comments

@Aidan63
Copy link

Aidan63 commented Oct 22, 2022

I have a few projects which use custom haxe versions and frequently have .haxerc files which look like this.

{
  "version": "D:/programming/haxe/hxcppdbg/haxe/windows",
  "resolveLibs": "scoped"
}

I often find myself swapping between "indows and WSL so have to remember to update the path to point to the correct folder when switching. It would be nice to be able to specify paths on a per-OS basis, maybe something like this?

{
  "version": {
    "windows": "D:/programming/haxe/hxcppdbg/haxe/windows",
    "linux": "/media/d/programming/haxe/hxcppdbg/haxe/linux"
  },
  "resolveLibs": "scoped"
}

I had a quick look and it doesn't seem like it would be a massive pain to implement, so I could look into doing that if it seems like a good idea.

@kevinresol
Copy link
Member

Alternatively you can also use a symlink

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

2 participants