-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a489f8
commit cc37173
Showing
14 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build Project | ||
|
||
# Workflow will trigger on any push to the master/main branch | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
Build: | ||
# Building server | ||
runs-on: windows-2022 | ||
# Commands to complete task | ||
steps: | ||
|
||
# Cloning all repository | ||
- name: Get Sources | ||
uses: actions/checkout@v4 | ||
|
||
# Compile it via shitty .bat file | ||
- name: Compile Project | ||
shell: cmd | ||
run: zBuild.bat | ||
|
||
# Upload artifact to the GitHub | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: TSTW_RU-${{github.sha}} | ||
path: Build/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# В папке должна содержаться актуальная версия мода, чтобы на него можно было накатить изменения для тестирования | ||
_Test | ||
Build |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+108 KB
...esources/Translations/ru/MIX/expand98.mix → ...Translations/ru/MIX/expand98/fullfnt3.shp
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@echo off | ||
chcp 65001 > nul | ||
set mixfolder=Build\Resources\Translations\ru\MIX | ||
|
||
echo Delete build cache... | ||
rmdir /q /s Build > nul 2> nul | ||
mkdir Build | ||
|
||
echo Copy files... | ||
xcopy Source\* Build\* /e /y | ||
|
||
for /f "tokens=*" %%f in ('dir "%mixfolder%\" /a:d /b') do ( | ||
echo Compiling %%f.mix... | ||
Tools\ccmix.exe --create --lmd --game=ra2 --dir "%mixfolder%\%%f" --mix "%mixfolder%\%%f.mix" | ||
rmdir /q /s "%mixfolder%\%%f" | ||
) | ||
|
||
echo Done. Please, check Build folder. |