Provides automatic installation scripts for OpenRA with Tiberian Sun & Red Alert 2 + Dune 2 (Windows, Linux)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.7 KiB

  1. --- a/make.ps1
  2. +++ b/make.ps1
  3. @@ -71,7 +71,7 @@
  4. if ($version -ne $null)
  5. {
  6. - $mods = @("mods/ra/mod.yaml", "mods/cnc/mod.yaml", "mods/d2k/mod.yaml", "mods/ts/mod.yaml", "mods/modchooser/mod.yaml", "mods/all/mod.yaml")
  7. + $mods = @("mods/ra/mod.yaml", "mods/cnc/mod.yaml", "mods/d2k/mod.yaml", "mods/ts/mod.yaml", "mods/ra2/mod.yaml", "mods/d2/mod.yaml", "mods/modchooser/mod.yaml", "mods/all/mod.yaml")
  8. foreach ($mod in $mods)
  9. {
  10. $replacement = (gc $mod) -Replace "Version:.*", ("Version: {0}" -f $version)
  11. @@ -111,8 +111,12 @@
  12. echo "Testing mods..."
  13. echo "Testing Tiberian Sun mod MiniYAML..."
  14. ./OpenRA.Utility.exe ts --check-yaml
  15. + echo "Testing Red Alert 2 mod MiniYAML..."
  16. + ./OpenRA.Utility.exe ra2 --check-yaml
  17. echo "Testing Dune 2000 mod MiniYAML..."
  18. ./OpenRA.Utility.exe d2k --check-yaml
  19. + echo "Testing Dune 2 mod MiniYAML..."
  20. + ./OpenRA.Utility.exe d2 --check-yaml
  21. echo "Testing Tiberian Dawn mod MiniYAML..."
  22. ./OpenRA.Utility.exe cnc --check-yaml
  23. echo "Testing Red Alert mod MiniYAML..."
  24. @@ -141,6 +145,10 @@
  25. ./OpenRA.Utility.exe cnc --check-code-style OpenRA.Mods.Cnc
  26. echo "Checking for code style violations in OpenRA.Mods.D2k..."
  27. ./OpenRA.Utility.exe cnc --check-code-style OpenRA.Mods.D2k
  28. + echo "Checking for code style violations in OpenRA.Mods.D2..."
  29. + ./OpenRA.Utility.exe d2 --check-code-style OpenRA.Mods.D2
  30. + echo "Checking for code style violations in OpenRA.Mods.RA2..."
  31. + ./OpenRA.Utility.exe ra2 --check-code-style OpenRA.Mods.RA2
  32. echo "Checking for code style violations in OpenRA.Utility..."
  33. ./OpenRA.Utility.exe cnc --check-code-style OpenRA.Utility
  34. echo "Checking for code style violations in OpenRA.Test..."