scripts/.lune/fmt.luau

14 lines
270 B
Text
Raw Permalink Normal View History

2024-12-08 17:42:05 +00:00
--> Run stylua to check for formatting errors
local process = require("@lune/process")
local CommandBuilder = require("./lib/exec")
2024-12-08 18:30:38 +00:00
process.exit(
CommandBuilder.new("stylua")
:withArg(".")
:withArgs(process.args)
:withStdioStrategy("forward")
:exec().code
)