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

Improvements to Per-Project Haxelib Setups #118

Closed

Conversation

EliteMasterEric
Copy link

@EliteMasterEric EliteMasterEric commented Mar 5, 2024

Currently a draft PR as I hammer out the details on what the eventual solution for this specifically looks like (it would probably be a file with a name something like haxelib.lock in JSON format located at the root of the project folder), but would love feedback in the meantime.

@EliteMasterEric
Copy link
Author

For reference, the hmm.json implements this like so::

{
  "dependencies": [
    {
      "name": "library1",
      "type": "git",
      "dir": null,
      "ref": "2d83fa863ef0c1eace5f1cf67c3ac315d1a3a8a5",
      "url": "https://github.com/user/repo"
    },
    {
      "name": "library2",
      "type": "haxelib",
      "version": "1.1.0"
    }
}

Not sure at this point if we need anything else (notably, this allows for libraries to be defined as subdirectories of git repositories, which I believe haxelib install all currently does not provide for)

@EliteMasterEric
Copy link
Author

Closing because I'm dumb and didn't realize this exists:

HaxeFoundation/haxelib#610

@acarioni
Copy link

acarioni commented Mar 5, 2024

Another alternative is lix.

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.

None yet

2 participants