mirror of
https://github.com/pesde-pkg/tooling.git
synced 2025-03-03 18:41:45 +00:00
Pesde packages for common Luau tooling.
Fixes a potential TOCTOU bug in the locking mechanism by restructuring and using file moves which are atomic on both windows and unix. FIXME: This commit introduces a bug where if there is are two concurrent processes attempting to install a tool such that the tool has artifact naming patterns that we understand (and hence do not need to download every artifact for), the parent installation process (i.e., the one which started first) yields indefinitely even after installing and running the tool. |
||
---|---|---|
.lune | ||
.vscode | ||
bins | ||
toolchainlib | ||
.gitignore | ||
.luaurc | ||
CHANGELOG.md | ||
LICENSE | ||
pesde.lock | ||
pesde.toml | ||
README.md |
pesde/tooling
Common Luau tooling packaged for pesde, for use within fully pesde-managed projects.
Tool | Available package |
---|---|
pesde/stylua |
|
pesde/luau_lsp |
|
pesde/selene |
|
pesde/rojo |
|
pesde/blink |
|
pesde/darklua |
|
pesde/argon |
|
pesde/zap |
|
pesde/asphalt |
Prerequisites
To ensure proper functionality, please make sure you have the following dependencies installed:
- pesde: Version
>= 0.5.0-rc.13
- lune: Version
>= 0.8.7
Usage
For example, to install stylua, a Lua code formatter, run:
pesde x pesde/stylua -- --version
# Or, install the tool into your project and have it accessible in PATH
pesde add --dev pesde/stylua --target lune
pesde install
stylua --version
Refer to the above table for a list of support tooling packages.
If a Luau tool you would like is not present here, please open an issue or submit a PR, following the format of one of the existing tools.
License
This project is licensed under the MIT license.