asdf-community / asdf-haxe

Haxe plugin for the asdf version manager
https://github.com/asdf-vm/asdf
Apache License 2.0
15 stars 5 forks source link
asdf asdf-plugin

asdf-haxe

Haxe plugin for asdf version manager

Installation

asdf plugin-add haxe https://github.com/asdf-community/asdf-haxe.git

Usage

Check asdf readme for instructions on how to install & manage versions.

Troubleshooting

Haxe executables expect Neko's dynamic libraries to be found relative to the executable file.

An error like the following is produced:

$ haxelib
dyld: Library not loaded: @rpath/libneko.2.dylib
  Referenced from: /vic/.asdf/installs/haxe/4.0.5/bin/./haxelib
  Reason: image not found
fish: './haxelib' terminated by signal SIGABRT (Abort)

To fix this install a compatible NekoVM version using asdf-neko and then execute:

asdf current haxe # should display your selected haxe version
asdf current neko # should display your selected haxe version

asdf haxe neko dylibs link # link neko dylibs

haxelib # this should work now.

License

Licensed under the Apache License, Version 2.0.