runprebuild.sh 470 B

12345678910111213141516171819202122232425262728
  1. #!/bin/sh
  2. case "$1" in
  3. 'clean')
  4. dotnet bin/prebuild.dll /file prebuild.xml /clean
  5. ;;
  6. 'autoclean')
  7. echo y|dotnet bin/prebuild.dll /file prebuild.xml /clean
  8. ;;
  9. *)
  10. cp bin/System.Drawing.Common.dll.linux bin/System.Drawing.Common.dll
  11. dotnet bin/prebuild.dll /target vs2022 /targetframework net8_0 /excludedir = "obj | bin" /file prebuild.xml
  12. echo "dotnet build -c Release OpenSim.sln" > compile.sh
  13. chmod +x compile.sh
  14. ;;
  15. esac