semver-luau/.lune/fmt.luau

8 lines
258 B
Text
Raw Normal View History

--> Run stylua to check for formatting errors
local process = require("@lune/process")
local CommandBuilder = require("./exec")
process.exit(CommandBuilder.new("stylua"):withArg("."):withArgs(process.args):withStdioStrategy("forward"):exec().code)