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

Location-independent haxelib runscript. #128

Closed
wants to merge 1 commit into from

Conversation

ioga
Copy link

@ioga ioga commented Apr 4, 2014

One can create a symlink to that script and run it from any place
without bothering about proper classpath etc.

One can create a symlink to that script and run it from any place
without bothering about proper classpath etc.
@nadako
Copy link
Member

nadako commented Mar 9, 2016

@andyli is this still relevant? I'm on Windows, so I can't check this out, but I think haxe's make install generates this script nowadays.

@nadako nadako assigned andyli and unassigned jasononeil Mar 9, 2016
@ioga
Copy link
Author

ioga commented Mar 10, 2016

Yes, the issue is still there. In https://github.com/HaxeFoundation/haxe/blob/development/Makefile#L114 one can currently see:
echo "exec haxe -cp $(INSTALL_LIB_DIR)/extra/haxelib_src/src --run haxelib.client.Main \"\$$@\"" >> $(INSTALL_BIN_DIR)/haxelib

i.e. the installation directory is hardcoded into haxelib script, and therefore you cannot move it around, and staged installs mentioned in HaxeFoundation/haxe#2850 still won't work.

This particular changeset (as well as some part of haxe#2850) is probably outdated though since it's almost 2 years old.

@andyli
Copy link
Member

andyli commented Mar 10, 2016

The "haxelib script" is problematic in many ways.. So I'm very tempted to remove it and use the good old nekotools booted haxelib instead. But I have to figure out this implication to the selfupdate thing... which is another source of headache to me.

@nadako
Copy link
Member

nadako commented Mar 10, 2016

See #172 as @ibilon proposed a way to handle selfupdate where we can just keep bundled haxelib as a nekobooted executable.

@nadako
Copy link
Member

nadako commented Mar 10, 2016

I'll close this as we seem to be moving away from shell script to nekobooted executable (see #172 and #284)

@nadako nadako closed this Mar 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants