pkg(dotnet-5.0.201): Give separate compilation errors

This commit is contained in:
Brikaa 2021-10-08 18:36:12 +02:00
parent 2ae63a4d69
commit 3ad734a877

View file

@ -7,6 +7,11 @@ export HOME=$PWD
dotnet build --help > /dev/null # Shut the thing up dotnet build --help > /dev/null # Shut the thing up
check_errors () {
grep -q 'error [A-Z]\+[0-9]\+:' check.txt && cat check.txt 1>&2
rm check.txt
}
case "${PISTON_LANGUAGE}" in case "${PISTON_LANGUAGE}" in
basic.net) basic.net)
rename 's/$/\.vb/' "$@" # Add .vb extension rename 's/$/\.vb/' "$@" # Add .vb extension
@ -33,4 +38,5 @@ case "${PISTON_LANGUAGE}" in
esac esac
dotnet restore --source $DOTNET_ROOT/.nuget/packages dotnet restore --source $DOTNET_ROOT/.nuget/packages
dotnet build --no-restore dotnet build --no-restore | tee check.txt
check_errors