Powerful software for playing games through text, supporting remote connectivity through services such as Twitch.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
886 B

:: This batch script will build TRBot and the migration tool for both Windows and GNU/Linux
:: Run it in the same directory as this file
echo off
:: Make a "build" folder if it doesn't exist
mkdir build
:: Change directory to the main application
cd .\TRBot\TRBot.Main
:: TRBot GNU/Linux build
dotnet publish -c Release -o ..\..\build/TRBotLinux --self-contained --runtime linux-x64
:: TRBot Windows build
dotnet publish -c Release -o ..\..\build/TRBotWin --self-contained --runtime win-x64
:: Change directory to the data migration tool
cd ..\TRBotDataMigrationTool
:: Migration tool GNU/Linux build
dotnet publish -c Release -o ..\..\build\TRBotDataMigrationToolLinux --self-contained --runtime linux-x64
:: Migration tool Windows build
dotnet publish -c Release -o ..\..\build\TRBotDataMigrationToolWindows --self-contained --runtime win-x64
echo Builds complete!
cd ..\..