16 lines
229 B
PowerShell
16 lines
229 B
PowerShell
param(
|
|
[Parameter(Mandatory = $true)]
|
|
[ValidateSet("lint", "format")]
|
|
[string]$Task
|
|
)
|
|
|
|
switch ($Task) {
|
|
"lint" {
|
|
uv run gdlint scripts
|
|
}
|
|
|
|
"format" {
|
|
uv run gdformat scripts --check
|
|
}
|
|
}
|