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.

29 lines
1.4 KiB

8 years ago
  1. --- a/make.ps1
  2. +++ b/make.ps1
  3. @@ -108,7 +108,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/modchooser/mod.yaml", "mods/all/mod.yaml")
  8. foreach ($mod in $mods)
  9. {
  10. $replacement = (gc $mod) -Replace "Version:.*", ("Version: {0}" -f $version)
  11. @@ -136,6 +136,8 @@
  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 Tiberian Dawn mod MiniYAML..."
  20. @@ -170,6 +172,8 @@
  21. ./OpenRA.Utility.exe cnc --check-code-style OpenRA.Mods.D2k
  22. echo "Checking for code style violations in OpenRA.Mods.TS..."
  23. ./OpenRA.Utility.exe cnc --check-code-style OpenRA.Mods.TS
  24. + echo "Checking for code style violations in OpenRA.Mods.RA2..."
  25. + ./OpenRA.Utility.exe cnc --check-code-style OpenRA.Mods.RA2
  26. echo "Checking for code style violations in OpenRA.Utility..."
  27. ./OpenRA.Utility.exe cnc --check-code-style OpenRA.Utility
  28. echo "Checking for code style violations in OpenRA.Test..."