Skip to content

Vendor lib/molinillo#663

Merged
straight-shoota merged 6 commits intocrystal-lang:masterfrom
straight-shoota:infra/vendor-molinillo
Feb 22, 2025
Merged

Vendor lib/molinillo#663
straight-shoota merged 6 commits intocrystal-lang:masterfrom
straight-shoota:infra/vendor-molinillo

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.

@straight-shoota straight-shoota removed this from the 0.20.0 milestone Feb 12, 2025
@straight-shoota straight-shoota added this to the 0.20.0 milestone Feb 21, 2025
@straight-shoota straight-shoota merged commit 02ff388 into crystal-lang:master Feb 22, 2025
9 checks passed
@straight-shoota straight-shoota deleted the infra/vendor-molinillo branch February 22, 2025 13:43
@straight-shoota straight-shoota changed the title Vendor lib/molinillo Vendor lib/molinillo Dec 15, 2025
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