-
Notifications
You must be signed in to change notification settings - Fork 14
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
Release v1.4.6 and bugfix of symlink to priv/ creation #122
Conversation
…iv/ creation not fail if the directory already exists
create_relative_symlink(lib_path, logical_output_path, logical_dep_dir_name) | ||
|
||
{physical_output_path, 0} = System.shell("realpath #{logical_output_path}") | ||
physical_output_path = String.slice(physical_output_path, 0..-2//1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use String.trim or trim_trailing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
logical_output_path = Bundlex.Toolchain.output_path(native.app, native.interface) | ||
create_relative_symlink(lib_path, logical_output_path, logical_dep_dir_name) | ||
|
||
{physical_output_path, 0} = System.shell("realpath #{logical_output_path}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add a comment on why we do this and create two symlinks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
This PR:
.so
files forpriv/
in_build
being both a directory and for a symlink