mocha-dotnet/build

20 lines
487 B
Plaintext
Executable File

if [ ! -d output ]; then
mkdir output
fi
dotnet build
if [ $? -eq 1 ]; then
exit 1
fi
ASSET_UIHTML_VERSION=2024.27.5
THEME_NAME=avondale
for each in mocha-dotnet/src/assets/ui-html/css/common/*.less mocha-dotnet/src/assets/ui-html/css/$THEME_NAME/*.less; do cat $each; echo ""; done | lessc --plugin=less-plugin-clean-css=advanced - output/assets/ui-html/$ASSET_UIHTML_VERSION/css/mochaApp.css
cp mocha-dotnet/src/app/Mocha.ServerApplication/bin/Debug/net8.0/* output/
exit 0