1
0

runprebuild.sh 467 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. dotnet bin/prebuild.dll /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.xml
  11. echo "dotnet build -c Release OpenSim.sln" > compile.sh
  12. chmod +x compile.sh
  13. cp bin/System.Drawing.Common.dll.linux bin/System.Drawing.Common.dll
  14. ;;
  15. esac