2024-11-25 15:25:21 +00:00
# [`pesde/toolchainlib`]
< a href = "https://discord.gg/ATVVsNNv3u" > < img alt = "Discord" src = "https://img.shields.io/discord/385151591524597761?style=plastic&logo=discord&color=%235865F2" / > < / a >
2024-12-10 16:42:47 +00:00
< a href = "https://pesde.daimond113.com/packages/pesde/toolchainlib" > < img alt = "Pesde" src = "https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fpesde-pkg%2Ftooling%2Frefs%2Fheads%2Fmain%2Ftoolchainlib%2Fpesde.toml&query=version&prefix=pesde%2Ftoolchainlib%40&style=plastic&label=pesde&color=F19D1E&logo=data:image/svg%2bxml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OS42MDI1IDBMOTIuOTAzOCAyNVY3NUw0OS42MDI1IDEwMEw2LjMwMTI3IDc1VjI1TDQ5LjYwMjUgMFpNMTQuMzAxMyAyOS42MTg4TDQ5LjYwMjUgOS4yMzc2TDg0LjkwMzggMjkuNjE4OFY3MC4zODEyTDQ5LjYwMjUgOTAuNzYyNEwzMy42MTQ4IDgxLjUzMTlWNjcuMzg0OEMzNC41MTY3IDY4LjUwNzEgMzUuNjM4OCA2OS40MjE1IDM2Ljk4MSA3MC4xMjc5QzM4Ljk3MDEgNzEuMTQ4IDQxLjAzNTcgNzEuNjU4IDQzLjE3NzkgNzEuNjU4QzQ2LjQ0MiA3MS42NTggNDkuMTQ1MiA3MC44OTI5IDUxLjI4NzMgNjkuMzYyOUM1My40ODA1IDY3Ljc4MTggNTUuMTEyNiA2NS43NjcyIDU2LjE4MzYgNjMuMzE5QzU3LjA5MTUgNjEuMzM4MiA1Ny42MzIgNTkuMjc0IDU3LjgwNTQgNTcuMTI2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NDAuMTE3NyA2NS4wMDIxIDQxLjY0NzggNjUuMDAyMUM0NC4wNDQ5IDY1LjAwMjEgNDYuMDg1IDY0LjE4NjEgNDcuNzY4MSA2Mi41NTRDNDkuNDUxMiA2MC45MjE5IDUwLjI5MjggNTguNjAxMiA1MC4yOTI4IDU1LjU5MjFDNTAuMjkyOCA1NC4wNjc5IDUwLjA3NjkgNTIuNzI3IDQ5LjY0NTEgNTEuNTY5MloiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KPC9zdmc+" / > < / a >
2024-11-26 07:34:01 +00:00
< a href = "https://lune-org.github.io/docs" > < img alt = "Lune" src = "https://raw.githubusercontent.com/pesde-pkg/tooling/refs/heads/main/.lune/assets/powered-by-lune.svg" / > < / a >
2024-11-25 15:25:21 +00:00
A Luau library implementing toolchain management for Luau packages. This package is a dependency of all of pesde's tooling packages.
> [!CAUTION]
> Although it is possible to use this package directly, it is not recommended as it has not been thoroughly tested for any tooling other than those pesde officially repackages.
# Hwat? How?
[`pesde/toolchainlib`] uses a logic inspired by [Rokit] to discover compatible artifacts on GitHub releases, downloads them locally, and executes them. [Rokit]'s discovery logic is dynamic, works for a majority of tools. The only requirement is that the tool has to have a GitHub release. See [this comment ](https://github.com/pesde-pkg/tooling/blob/e17fd8c40948ab553e984fd9d154ba5394d0a532/toolchainlib/src/init.luau#L1-L8 ) for more details on the discovery logic.
2024-12-01 12:19:19 +00:00
When consumed from within a binary pesde package, pesde creates global linker scripts within `~/.pesde/bin` which can be invoked when the package is installed in the workspace. These scripts can be called from the command line like regular commands, enabling you to run your favorite tooling, while having them be managed entirely by pesde.
2024-11-25 15:25:21 +00:00
# License
This project is licensed under the [MIT] license.
[MIT]: https://github.com/pesde/toolchainlib/blob/main/LICENSE.md
[`pesde/toolchainlib`]: https://pesde.daimond113.com/packages/pesde/toolchainlib
[Rokit]: https://github.com/rojo-rbx/rokit