mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 19:26:25 +02:00
pkg(dotnet-5.0.201): Give separate compilation errors
This commit is contained in:
parent
2ae63a4d69
commit
3ad734a877
1 changed files with 7 additions and 1 deletions
8
packages/dotnet/5.0.201/compile
vendored
8
packages/dotnet/5.0.201/compile
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue