rimworld-mod-template/.vscode/build.sh

15 lines
274 B
Bash
Raw Normal View History

2024-02-11 17:28:50 +01:00
set -e
script_dir=$(dirname $(readlink -f $0))
mod_dir=$(dirname $script_dir)
pushd $script_dir
# build dll
rm -f ../1.4/Assemblies/*
dotnet build mod.csproj
# generate About.xml
rm -f ../About/About.xml
xsltproc -o ../About/About.xml ./about.xml.xslt ./mod.csproj
popd