Skip to content

Commit 52b57d6

Browse files
committed
less output
1 parent 4b2450b commit 52b57d6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

scripts/dotnet-cs.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/bash
2-
# Copyright (c) 2019-2020 Alexander Chernov <[email protected]>
2+
# Copyright (c) 2019-2023 Alexander Chernov <[email protected]>
33

44
# A script for compilation of C# programs using the dotnet compiler.
55
# Usage: dotnet-cs in-file out-file
@@ -36,6 +36,9 @@ unset LC_ALL
3636
unset LC_MESSAGES
3737
unset LANGUAGE
3838

39+
export DOTNET_NOLOGO=true
40+
export DOTNET_CLI_TELEMETRY_OPTOUT=true
41+
3942
if ! "${DOTNETRUN}" new console -lang 'c#' -n solution
4043
then
4144
echo "Compilation failed." >&2

scripts/dotnet-vb.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/bash
2-
# Copyright (c) 2019-2020 Alexander Chernov <[email protected]>
2+
# Copyright (c) 2019-2023 Alexander Chernov <[email protected]>
33

44
# A script for compilation of C# programs using the dotnet compiler.
55
# Usage: dotnet-cs in-file out-file
@@ -36,6 +36,9 @@ unset LC_ALL
3636
unset LC_MESSAGES
3737
unset LANGUAGE
3838

39+
export DOTNET_NOLOGO=true
40+
export DOTNET_CLI_TELEMETRY_OPTOUT=true
41+
3942
if ! "${DOTNETRUN}" new console -lang 'vb' -n solution
4043
then
4144
echo "Compilation failed." >&2

0 commit comments

Comments
 (0)