Skip to content
Snippets Groups Projects
Commit a22dd11d authored by Pedy's avatar Pedy
Browse files

Edited batch files, added watch

Output will now be created in its own folder to prevent accidental rewrite in src folder, just make sure to create output folder first;
parent 949a8511
No related branches found
No related tags found
No related merge requests found
@echo off
:: Free Cities Basic Compiler - Windows
:: Set working directory
pushd %~dp0
:: Run the appropriate compiler for the user's CPU architecture.
if %PROCESSOR_ARCHITECTURE% == AMD64 (
CALL "%~dp0devTools\tweeGo\tweego_win64.exe" -w -s "Init" -o "%~dp0Degrees_of_Lewdity_mod.html" "%~dp0src"
) else (
CALL "%~dp0devTools\tweeGo\tweego_win86.exe" -w -s "Init" -o "%~dp0Degrees_of_Lewdity_mod.html" "%~dp0src"
)
popd
ECHO Done
pause
\ No newline at end of file
......@@ -8,7 +8,7 @@ pushd %~dp0
if %PROCESSOR_ARCHITECTURE% == AMD64 (
CALL "%~dp0devTools\tweeGo\tweego_win64.exe" -s "Init" -o "%~dp0Degrees_of_Lewdity_mod.html" "%~dp0src"
) else (
CALL "%~dp0devTools\tweeGo\tweego_win86.exe" -o "%~dp0Degrees_of_Lewdity_mod.html" "%~dp0src"
CALL "%~dp0devTools\tweeGo\tweego_win86.exe" -s "Init" -o "%~dp0Degrees_of_Lewdity_mod.html" "%~dp0src"
)
popd
......
......@@ -6,9 +6,9 @@ pushd %~dp0
:: Run the appropriate compiler for the user's CPU architecture.
if %PROCESSOR_ARCHITECTURE% == AMD64 (
CALL "%~dp0devTools\tweeGo\tweego_win64.exe" -d "%~dp0Degrees_of_Lewdity.html" -o "%~dp0src/output.tw"
CALL "%~dp0devTools\tweeGo\tweego_win64.exe" -d "%~dp0Degrees_of_Lewdity_0.1.11mod.html" -o "%~dp0output/output.tw"
) else (
CALL "%~dp0devTools\tweeGo\tweego_win86.exe" -d "%~dp0Degrees_of_Lewdity.html" -o "%~dp0src/output.tw"
CALL "%~dp0devTools\tweeGo\tweego_win86.exe" -d "%~dp0Degrees_of_Lewdity.html" -o "%~dp0output/output.tw"
)
popd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment