Skip to content

Commit

Permalink
add binary copying to script
Browse files Browse the repository at this point in the history
  • Loading branch information
xan1242 committed May 8, 2022
1 parent 3472709 commit e6537f2
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 4 deletions.
3 changes: 3 additions & 0 deletions post-build/carbon.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ IF EXIST "Release-Carbon\Release-Carbon-Pack" RMDIR /S /Q "Release-Carbon\Releas
MKDIR "Release-Carbon\Release-Carbon-Pack"
MKDIR "Release-Carbon\Release-Carbon-Pack\Global"
MKDIR "Release-Carbon\Release-Carbon-Pack\scripts"
:: Summon the binary
echo Copying the binary
COPY /Y "Release-Carbon\NFS_XtendedInput.asi" "Release-Carbon\Release-Carbon-Pack\scripts"
:: Build the TPK -- YOU NEED TO HAVE XNFSTPKTool in your PATH!!!
echo Building TPK with XNFSTPKTool
xnfstpktool -w "XtendedInputButtons\8A69054A.ini" "Release-Carbon\Release-Carbon-Pack\Global\XtendedInputButtons.tpk"
Expand Down
3 changes: 3 additions & 0 deletions post-build/carbon_debug.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ IF EXIST "Debug-Carbon\Debug-Carbon-Pack" RMDIR /S /Q "Debug-Carbon\Debug-Carbon
MKDIR "Debug-Carbon\Debug-Carbon-Pack"
MKDIR "Debug-Carbon\Debug-Carbon-Pack\Global"
MKDIR "Debug-Carbon\Debug-Carbon-Pack\scripts"
:: Summon the binary
echo Copying the binary
COPY /Y "Debug-Carbon\NFS_XtendedInput.asi" "Debug-Carbon\Debug-Carbon-Pack\scripts"
:: Build the TPK -- YOU NEED TO HAVE XNFSTPKTool in your PATH!!!
echo Building TPK with XNFSTPKTool
xnfstpktool -w "XtendedInputButtons\8A69054A.ini" "Debug-Carbon\Debug-Carbon-Pack\Global\XtendedInputButtons.tpk"
Expand Down
3 changes: 3 additions & 0 deletions post-build/mw.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ IF EXIST "Release-MW\Release-MW-Pack" RMDIR /S /Q "Release-MW\Release-MW-Pack"
MKDIR "Release-MW\Release-MW-Pack"
MKDIR "Release-MW\Release-MW-Pack\Global"
MKDIR "Release-MW\Release-MW-Pack\scripts"
:: Summon the binary
echo Copying the binary
COPY /Y "Release-MW\NFS_XtendedInput.asi" "Release-MW\Release-MW-Pack\scripts"
:: Build the TPK -- YOU NEED TO HAVE XNFSTPKTool in your PATH!!!
echo Building TPK with XNFSTPKTool
xnfstpktool -w2 "XtendedInputButtons\8A69054A.ini" "Release-MW\Release-MW-Pack\Global\XtendedInputButtons.tpk"
Expand Down
3 changes: 3 additions & 0 deletions post-build/mw_debug.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ IF EXIST "Debug-MW\Debug-MW-Pack" RMDIR /S /Q "Debug-MW\Debug-MW-Pack"
MKDIR "Debug-MW\Debug-MW-Pack"
MKDIR "Debug-MW\Debug-MW-Pack\Global"
MKDIR "Debug-MW\Debug-MW-Pack\scripts"
:: Summon the binary
echo Copying the binary
COPY /Y "Debug-MW\NFS_XtendedInput.asi" "Debug-MW\Debug-MW-Pack\scripts"
:: Build the TPK -- YOU NEED TO HAVE XNFSTPKTool in your PATH!!!
echo Building TPK with XNFSTPKTool
xnfstpktool -w2 "XtendedInputButtons\8A69054A.ini" "Debug-MW\Debug-MW-Pack\Global\XtendedInputButtons.tpk"
Expand Down
3 changes: 3 additions & 0 deletions post-build/prostreet.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ IF EXIST "Release-ProStreet\Release-ProStreet-Pack" RMDIR /S /Q "Release-ProStre
MKDIR "Release-ProStreet\Release-ProStreet-Pack"
MKDIR "Release-ProStreet\Release-ProStreet-Pack\Global"
MKDIR "Release-ProStreet\Release-ProStreet-Pack\scripts"
:: Summon the binary
echo Copying the binary
COPY /Y "Release-ProStreet\NFS_XtendedInput.asi" "Release-ProStreet\Release-ProStreet-Pack\scripts"
:: Build the TPK -- YOU NEED TO HAVE XNFSTPKTool in your PATH!!!
echo Building TPK with XNFSTPKTool
xnfstpktool -w "XtendedInputButtons\8A69054A.ini" "Release-ProStreet\Release-ProStreet-Pack\Global\XtendedInputButtons.tpk"
Expand Down
3 changes: 3 additions & 0 deletions post-build/prostreet_debug.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ IF EXIST "Debug-ProStreet\Debug-ProStreet-Pack" RMDIR /S /Q "Debug-ProStreet\Deb
MKDIR "Debug-ProStreet\Debug-ProStreet-Pack"
MKDIR "Debug-ProStreet\Debug-ProStreet-Pack\Global"
MKDIR "Debug-ProStreet\Debug-ProStreet-Pack\scripts"
:: Summon the binary
echo Copying the binary
COPY /Y "Debug-ProStreet\NFS_XtendedInput.asi" "Debug-ProStreet\Debug-ProStreet-Pack\scripts"
:: Build the TPK -- YOU NEED TO HAVE XNFSTPKTool in your PATH!!!
echo Building TPK with XNFSTPKTool
xnfstpktool -w "XtendedInputButtons\8A69054A.ini" "Debug-ProStreet\Debug-ProStreet-Pack\Global\XtendedInputButtons.tpk"
Expand Down
4 changes: 3 additions & 1 deletion post-build/uc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ echo Creating directories...
IF EXIST "Release-UC\Release-UC-Pack" RMDIR /S /Q "Release-UC\Release-UC-Pack"
MKDIR "Release-UC\Release-UC-Pack"
MKDIR "Release-UC\Release-UC-Pack\scripts"

:: Summon the binary
echo Copying the binary
COPY /Y "Release-UC\NFS_XtendedInput.asi" "Release-UC\Release-UC-Pack\scripts"
:: Summon text files
echo Summoning text files
COPY /Y "Config-UC\NFS_XtendedInput.ini" "Release-UC\Release-UC-Pack\scripts"
Expand Down
4 changes: 3 additions & 1 deletion post-build/uc_debug.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ echo Creating directories...
IF EXIST "Debug-UC\Debug-UC-Pack" RMDIR /S /Q "Debug-UC\Debug-UC-Pack"
MKDIR "Debug-UC\Debug-UC-Pack"
MKDIR "Debug-UC\Debug-UC-Pack\scripts"

:: Summon the binary
echo Copying the binary
COPY /Y "Debug-UC\NFS_XtendedInput.asi" "Debug-UC\Debug-UC-Pack\scripts"
:: Summon text files
echo Summoning text files
COPY /Y "Config-UC\NFS_XtendedInput.ini" "Debug-UC\Debug-UC-Pack\scripts"
Expand Down
4 changes: 3 additions & 1 deletion post-build/world.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ echo Creating directories...
IF EXIST "Release-World\Release-World-Pack" RMDIR /S /Q "Release-World\Release-World-Pack"
MKDIR "Release-World\Release-World-Pack"
MKDIR "Release-World\Release-World-Pack\scripts"

:: Summon the binary
echo Copying the binary
COPY /Y "Release-World\NFS_XtendedInput.asi" "Release-World\Release-World-Pack\scripts"
:: Summon text files
echo Summoning text files
COPY /Y "Config-World\NFS_XtendedInput.ini" "Release-World\Release-World-Pack\scripts"
Expand Down
4 changes: 3 additions & 1 deletion post-build/world_debug.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ echo Creating directories...
IF EXIST "Debug-World\Debug-World-Pack" RMDIR /S /Q "Debug-World\Debug-World-Pack"
MKDIR "Debug-World\Debug-World-Pack"
MKDIR "Debug-World\Debug-World-Pack\scripts"

:: Summon the binary
echo Copying the binary
COPY /Y "Debug-World\NFS_XtendedInput.asi" "Debug-World\Debug-World-Pack\scripts"
:: Summon text files
echo Summoning text files
COPY /Y "Config-World\NFS_XtendedInput.ini" "Debug-World\Debug-World-Pack\scripts"
Expand Down

0 comments on commit e6537f2

Please sign in to comment.