mirror of
https://github.com/pesde-pkg/tooling.git
synced 2024-12-12 15:20:36 +00:00
15 lines
320 B
Text
15 lines
320 B
Text
|
--> Run stylua to check for formatting errors
|
||
|
|
||
|
local process = require("@lune/process")
|
||
|
|
||
|
local CommandBuilder = require("./exec")
|
||
|
|
||
|
process.exit(
|
||
|
CommandBuilder.new("pesde")
|
||
|
:withArgs({ "run", "./bins/stylua" })
|
||
|
:withArg("--")
|
||
|
:withArgs(process.args)
|
||
|
:withStdioStrategy("forward")
|
||
|
:exec().code
|
||
|
)
|