diff --git a/Makefile b/Makefile index 2a444fa4e7..5ff546c40f 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/make.ps1 b/make.ps1 index 66cfcbfc03..fafef8f9db 100644 --- a/make.ps1 +++ b/make.ps1 @@ -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" }