feat: vendor dialogue manager v3
This commit is contained in:
+5
-1
@@ -171,7 +171,11 @@ function Invoke-GdLint {
|
||||
function Get-ChangedGd {
|
||||
$changed = @(git diff --name-only HEAD -- '*.gd' 2>$null)
|
||||
$untracked = @(git ls-files --others --exclude-standard -- '*.gd' 2>$null)
|
||||
return @((@($changed) + @($untracked)) | Where-Object { $_ -ne '' } | Sort-Object -Unique)
|
||||
return @(
|
||||
(@($changed) + @($untracked)) |
|
||||
Where-Object { $_ -ne '' -and -not $_.Replace('\', '/').StartsWith('addons/') } |
|
||||
Sort-Object -Unique
|
||||
)
|
||||
}
|
||||
|
||||
function To-ResPath($p) {
|
||||
|
||||
+1
-1
@@ -130,7 +130,7 @@ changed_gd() {
|
||||
{
|
||||
git diff --name-only HEAD -- '*.gd' 2>/dev/null
|
||||
git ls-files --others --exclude-standard -- '*.gd' 2>/dev/null
|
||||
} | sort -u || true
|
||||
} | grep -v '^addons/' | sort -u || true
|
||||
}
|
||||
|
||||
res_path() {
|
||||
|
||||
Reference in New Issue
Block a user