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

Vendor lib/molinillo #663

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

straight-shoota
Copy link
Member

Vendor the dependency code into the repository, as suggested in crystal-lang/crystal#15344 (comment). We're already doing the same in https://github.com/crystal-lang/crystal.

This simplifies the build process. All code required for building shards is contained in this repository (except for Crystal stdlib). There's no need to bootstrap the initial installation of the molinillo dependency anymore.

@straight-shoota straight-shoota added this to the 0.20.0 milestone Jan 16, 2025
With dependencies vendored in we don't need automatic dependency
installation anymore. We can be sure that lib/ is always present.
Upon dependency upgrade we'll need to explicitly run `shards update` but
there's no reason to have a make recipe for that.
@straight-shoota
Copy link
Member Author

In an additional commit, I've removed the make recipes related to dependency installation.

With dependencies vendored in we don't need automatic dependency installation anymore. We can be sure that lib/ is always present. Upon dependency upgrade we'll need to explicitly run shards update but there's no reason to have a make recipe for that.

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.

2 participants