Skip to content
Snippets Groups Projects
compile_watch.bat 537 B
Newer Older
  • Learn to ignore specific revisions
  • radiance's avatar
    radiance committed
    @echo off
    
    :: Set working directory
    pushd %~dp0
    @set TWEEGO_PATH="%~dp0devTools\tweego\StoryFormats"
    
    :: Run the appropriate compiler for the user's CPU architecture.
    if %PROCESSOR_ARCHITECTURE% == AMD64 (
    
    	CALL "%~dp0devTools\tweego\tweego_win64.exe" -w -o "%~dp0Degrees of Lewdity VERSION.html" --head "%~dp0devTools\head.html" "%~dp0game" --module "%~dp0modules"
    
    radiance's avatar
    radiance committed
    ) else (
    
    	CALL "%~dp0devTools\tweego\tweego_win86.exe" -w -o "%~dp0Degrees of Lewdity VERSION.html" --head "%~dp0devTools\head.html" "%~dp0game" --module "%~dp0modules"
    
    radiance's avatar
    radiance committed
    )