Test mod content

This commit is contained in:
Gustas
2025-07-27 21:43:16 +03:00
committed by Matthias Mailänder
parent 28a8f3a01f
commit c27d6dd1b1
2 changed files with 12 additions and 4 deletions

View File

@@ -119,15 +119,19 @@ check-scripts:
test: all
@echo
@echo "Testing Tiberian Sun mod MiniYAML..."
@./utility.sh ts-content --check-yaml
@./utility.sh ts --check-yaml
@echo
@echo "Testing Dune 2000 mod MiniYAML..."
@./utility.sh d2k-content --check-yaml
@./utility.sh d2k --check-yaml
@echo
@echo "Testing Tiberian Dawn mod MiniYAML..."
@./utility.sh cnc-content --check-yaml
@./utility.sh cnc --check-yaml
@echo
@echo "Testing Red Alert mod MiniYAML..."
@./utility.sh ra-content --check-yaml
@./utility.sh ra --check-yaml
tests:

View File

@@ -100,13 +100,17 @@ function Test-Command
}
Write-Host "Testing mods..." -ForegroundColor Cyan
Write-Host "Testing Tiberian Sun mod MiniYAML..." -ForegroundColor Cyan
Write-Host "`nTesting Tiberian Sun mod MiniYAML..." -ForegroundColor Cyan
InvokeCommand "$utilityPath ts-content --check-yaml"
InvokeCommand "$utilityPath ts --check-yaml"
Write-Host "Testing Dune 2000 mod MiniYAML..." -ForegroundColor Cyan
Write-Host "`nTesting Dune 2000 mod MiniYAML..." -ForegroundColor Cyan
InvokeCommand "$utilityPath d2k-content --check-yaml"
InvokeCommand "$utilityPath d2k --check-yaml"
Write-Host "Testing Tiberian Dawn mod MiniYAML..." -ForegroundColor Cyan
Write-Host "`nTesting Tiberian Dawn mod MiniYAML..." -ForegroundColor Cyan
InvokeCommand "$utilityPath cnc-content --check-yaml"
InvokeCommand "$utilityPath cnc --check-yaml"
Write-Host "Testing Red Alert mod MiniYAML..." -ForegroundColor Cyan
Write-Host "`nTesting Red Alert mod MiniYAML..." -ForegroundColor Cyan
InvokeCommand "$utilityPath ra-content --check-yaml"
InvokeCommand "$utilityPath ra --check-yaml"
}