mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-10 01:50:53 +09:00

Follow-up on #32451 Follow-up on #80074 In #43651, the "Windows" OS name was lowercased to achieve target frameworks with RIDs in them. At that time, the original plan was to lowercase all TargetOS values but that had to be cut because of resources. This PR finishes that and updates build systems, YML, markdowns and managed components. To not break existing developer workflows, the passed-in -os value is automatically lower-cased in the script entry points and validated in the msbuild entry point.
27 lines
819 B
Bash
Executable file
27 lines
819 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
opt=$1
|
|
case "$opt" in
|
|
|
|
libraries)
|
|
# prebuild the repo, so it is ready for development
|
|
./build.sh libs+clr -rc Release
|
|
# restore libs tests so that the project is ready to be loaded by OmniSharp
|
|
./build.sh libs.tests -restore
|
|
;;
|
|
|
|
wasm)
|
|
# prebuild for WASM, so it is ready for wasm development
|
|
make -C src/mono/wasm provision-wasm
|
|
export EMSDK_PATH=$PWD/src/mono/wasm/emsdk
|
|
./build.sh mono+libs -os browser -c Release
|
|
|
|
# install dotnet-serve for running wasm samples
|
|
./dotnet.sh tool install dotnet-serve --tool-path ./.dotnet-tools-global
|
|
;;
|
|
esac
|
|
|
|
# save the commit hash of the currently built assemblies, so developers know which version was built
|
|
git rev-parse HEAD > ./artifacts/prebuild.sha
|