Scripty pro kompilaci release verze autoamticky zkompresují do archivu
This commit is contained in:
parent
8742f9eb55
commit
8f677549ec
2 changed files with 7 additions and 3 deletions
|
|
@ -5,11 +5,13 @@ dotnet publish MonoGameLibrary
|
|||
ln -sfrv MonoGameLibrary/MonoGameLibrary/bin/Release/net9.0/publish/MonoGameLibrary.dll ONDClient/link/MonoGameLibrary.dll
|
||||
|
||||
dotnet publish --runtime linux-x64 --self-contained
|
||||
mkdir -p bin/OneNightDuel-linux-x64/bin/
|
||||
mkdir -p $target_dir/bin/
|
||||
cp -r bin/Client/net9.0/linux-x64/publish/* $target_dir/bin/
|
||||
cp -r bin/Server/net9.0/linux-x64/publish/* $target_dir/bin/
|
||||
|
||||
ln -sfrv $target_dir/bin/ONDClient $target_dir/OneNightDuel
|
||||
|
||||
echo "$launch_server_script" > $target_dir/launch-server-standalone.sh
|
||||
chmod +x $target_dir/launch-server-standalone.sh
|
||||
chmod +x $target_dir/launch-server-standalone.sh
|
||||
|
||||
tar -czvf bin/OneNightDuel-linux-x64.tar.gz $target_dir
|
||||
Loading…
Add table
Add a link
Reference in a new issue