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

Use relative paths to vendored shards #13315

Conversation

straight-shoota
Copy link
Member

This reverts #13040 and applies the opposite transformation towards explicitly relative path for reply (ref #12976 (comment)).
We never changed the require in

require "../../../../../lib/markd/src/markd"
, so this establishes uniformity. And it's probably a bit less fragile in case CRYSTAL_PATH gets messed up without lib.

@beta-ziliani beta-ziliani added this to the 1.8.0 milestone Apr 13, 2023
@straight-shoota straight-shoota merged commit 469b5b2 into crystal-lang:master Apr 13, 2023
@straight-shoota straight-shoota deleted the refactor/vendor-require-path branch April 13, 2023 19:37
@straight-shoota straight-shoota changed the title Revert "Remove relative path to vendored shard markd (#13040)" Use relative paths to vendored shards Apr 17, 2023
@straight-shoota
Copy link
Member Author

This change caused issues with ic (I3oris/ic#16) because it uses a locally installed copy of the reply shard which then conflicts with the vendored copy of the compiler.

nobodywasishere added a commit to nobodywasishere/crystal that referenced this pull request Nov 17, 2023
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.

3 participants