32 lines
678 B
Plaintext
Executable File
32 lines
678 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/
|
|
|
|
if [ ! -d output/plugins ]; then
|
|
mkdir output/plugins
|
|
fi
|
|
|
|
for each in mocha-dotnet/src/plugins/*; do
|
|
pushd $each
|
|
dotnet build
|
|
popd
|
|
|
|
cp $each/bin/Debug/net8.0/*.dll output/plugins
|
|
done
|
|
|
|
exit 0
|