Skip to content

Commit 0c4041a

Browse files
committed
Proper letter case for configuration names when generating projects
1 parent d6815c1 commit 0c4041a

File tree

4 files changed

+94
-91
lines changed

4 files changed

+94
-91
lines changed

.github/workflows/Build_Plugin_GTA_SA.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
echo ::groupEnd::
6666
6767
echo ::group::Build test plugin
68-
msbuild examples\Test\Test.sln /property:Configuration=Debug /property:Platform=GTASA /m /fileLogger1 /fileLoggerParameters1:warningsOnly;errorsOnly;logfile=output.log
68+
msbuild examples\Test\Test.sln /property:Configuration=Debug /property:Platform=GTA-SA /m /fileLogger1 /fileLoggerParameters1:warningsOnly;errorsOnly;logfile=output.log
6969
powershell -Command "(gc output.log) | sort | get-unique > output.log"
7070
powershell -Command "(gc output.log) -replace ' \d>','' -replace '.:\\a\\plugin-sdk\\plugin-sdk\\','' | Out-File -encoding ASCII output.log"
7171
powershell -Command "foreach($line in Get-Content 'output.log') { $m = $line -match '^(.*)\((\d+),(\d+)\): (\w+) (.*) \[.*\]$'; if ($m) {$m = $Matches; echo ('::'+$m[4]+' file='+$m[1]+',line='+$m[2]+',title=Test plugin compilation::'+$m[5])} else {echo ('::error title=Test plugin compilation::' + $line)} }"

.github/workflows/Build_Plugin_GTA_VC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
echo ::groupEnd::
6666
6767
echo ::group::Build test plugin
68-
msbuild examples\Test\Test.sln /property:Configuration=Debug /property:Platform=GTAVC /m /fileLogger1 /fileLoggerParameters1:warningsOnly;errorsOnly;logfile=output.log
68+
msbuild examples\Test\Test.sln /property:Configuration=Debug /property:Platform=GTA-VC /m /fileLogger1 /fileLoggerParameters1:warningsOnly;errorsOnly;logfile=output.log
6969
powershell -Command "(gc output.log) | sort | get-unique > output.log"
7070
powershell -Command "(gc output.log) -replace ' \d>','' -replace '.:\\a\\plugin-sdk\\plugin-sdk\\','' | Out-File -encoding ASCII output.log"
7171
powershell -Command "foreach($line in Get-Content 'output.log') { $m = $line -match '^(.*)\((\d+),(\d+)\): (\w+) (.*) \[.*\]$'; if ($m) {$m = $Matches; echo ('::'+$m[4]+' file='+$m[1]+',line='+$m[2]+',title=Test plugin compilation::'+$m[5])} else {echo ('::error title=Test plugin compilation::' + $line)} }"

tools/Plugin-SDK_Wizard_Config.xml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,72 +13,72 @@
1313
<name>GTA 2</name>
1414
<envVar>GTA_II_DIR</envVar>
1515
<checkFile>gta2.exe</checkFile>
16-
<project>plugin_ii</project>
17-
<projectOutput>plugin_ii</projectOutput>
16+
<project>Plugin_II</project>
17+
<projectOutput>Plugin_II</projectOutput>
1818
<target>GTA2</target>
1919
</component>
2020

2121
<component>
2222
<name>GTA 3</name>
2323
<envVar>GTA_III_DIR</envVar>
2424
<checkFile>gta3.exe</checkFile>
25-
<project>plugin_iii</project>
26-
<projectOutput>plugin_iii</projectOutput>
25+
<project>Plugin_III</project>
26+
<projectOutput>Plugin_III</projectOutput>
2727
<target>GTA3</target>
2828
</component>
2929

3030
<component>
3131
<name>GTA Vice City</name>
3232
<envVar>GTA_VC_DIR</envVar>
3333
<checkFile>gta-vc.exe</checkFile>
34-
<project>plugin_vc</project>
35-
<projectOutput>plugin_vc</projectOutput>
34+
<project>Plugin_VC</project>
35+
<projectOutput>Plugin_VC</projectOutput>
3636
<target>GTAVC</target>
3737
</component>
3838

3939
<component>
4040
<name>GTA San Andreas</name>
4141
<envVar>GTA_SA_DIR</envVar>
4242
<checkFile>gta_sa.exe</checkFile>
43-
<project>plugin_sa</project>
44-
<projectOutput>plugin</projectOutput>
43+
<project>Plugin_SA</project>
44+
<projectOutput>Plugin</projectOutput>
4545
<target>GTASA</target>
4646
</component>
4747

4848
<component>
4949
<name>GTA 4</name>
5050
<envVar>GTA_IV_DIR</envVar>
5151
<checkFile>GTAIV.exe</checkFile>
52-
<project>plugin_iv</project>
53-
<projectOutput>plugin_iv</projectOutput>
52+
<project>Plugin_IV</project>
53+
<projectOutput>Plugin_IV</projectOutput>
5454
<target>GTA4</target>
5555
</component>
5656

5757
<component>
5858
<name>GTA 3 DE</name>
5959
<envVar>GTA_III_UNREAL_DIR</envVar>
6060
<checkFile>Gameface\Binaries\Win64\LibertyCity.exe</checkFile>
61-
<project>plugin_iii_unreal</project>
62-
<projectOutput>plugin_iii_unreal</projectOutput>
63-
<target>DE-3</target>
61+
<project>Plugin_III_Unreal</project>
62+
<projectOutput>Plugin_III_Unreal</projectOutput>
63+
<target>GTA3_UNREAL</target>
6464
</component>
6565

6666
<component>
6767
<name>GTA Vice City DE</name>
6868
<envVar>GTA_VC_UNREAL_DIR</envVar>
6969
<checkFile>Gameface\Binaries\Win64\ViceCity.exe</checkFile>
70-
<project>plugin_vc_unreal</project>
71-
<projectOutput>plugin_vc_unreal</projectOutput>
72-
<target>DE-VC</target>
70+
<project>Plugin_VC_Unreal</project>
71+
<projectOutput>Plugin_VC_Unreal</projectOutput>
72+
<target>GTA-VC_UNREAL</target>
7373
</component>
7474

7575
<component>
7676
<name>GTA San Andreas DE</name>
7777
<envVar>GTA_SA_UNREAL_DIR</envVar>
7878
<checkFile>Gameface\Binaries\Win64\SanAndreas.exe</checkFile>
79-
<project>plugin_sa_unreal</project>
80-
<projectOutput>plugin_unreal</projectOutput>
81-
<target>DE-SA</target>
79+
<project>Plugin_SA_Unreal</project>
80+
<projectOutput>Plugin_Unreal</projectOutput>
81+
<target>GTA-SA_UNREAL</target>
8282
</component>
8383

8484
<!-- Extras -->

0 commit comments

Comments
 (0)