mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-14 00:49:08 +01:00
11 lines
No EOL
321 B
Batchfile
11 lines
No EOL
321 B
Batchfile
@echo off
|
|
rem move to the script directory
|
|
cd /d "%~dp0"
|
|
rem build the mod
|
|
dotnet build || exit /b
|
|
rem zip the mod
|
|
cd ./bin/Debug/net6.0
|
|
for /F %%p in ('dir /b "*.dll"') do (set file=%%p)
|
|
set dest=%file:~0,-4%.zip
|
|
tar -acf ../%dest% --exclude ref --exclude *.pdb --exclude *.deps.json *
|
|
echo Published to bin/Debug/%dest% |