From c27d6dd1b1978311c1329f2b5cc30fb8d11bece6 Mon Sep 17 00:00:00 2001 From: Gustas <37534529+PunkPun@users.noreply.github.com> Date: Sun, 27 Jul 2025 21:43:16 +0300 Subject: [PATCH] Test mod content --- Makefile | 4 ++++ make.ps1 | 12 ++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) 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" }