follow proxy settings

This commit is contained in:
eric sciple
2020-01-26 01:37:54 -05:00
parent b7821147f5
commit cf5f899a30
627 changed files with 22615 additions and 104481 deletions

22
__tests__/verify-dotnet.sh Executable file
View File

@@ -0,0 +1,22 @@
if [ -z "$1" ]; then
echo "Must supply dotnet version argument"
exit 1
fi
dotnet_version="$(dotnet --version)"
echo "Found dotnet version '$dotnet_version'"
if [ -z "$(echo $dotnet_version | grep $1)" ]; then
echo "Unexpected version"
exit 1
fi
echo "Building sample csproj"
dotnet build __tests__/sample-csproj/ --no-cache || exit 1
echo "Testing compiled app"
sample_output="$(__tests__/sample-csproj/bin/Debug/netcoreapp3.0/sample)"
echo "Sample output: $sample_output"
if [ -z "$(echo $sample_output | grep Hello)" ]; then
echo "Unexpected output"
exit 1
fi