From fa8383fb28be945cae900a5579afd5920f274fd4 Mon Sep 17 00:00:00 2001 From: Elinor Fung <47805090+elinor-fung@users.noreply.github.com> Date: Thu, 30 May 2019 14:58:09 -0700 Subject: Remove BuildTools from product build (#24841) * Remove BuildTools imports from product build * Split scripts for installing dotnet vs BuildTools --- init-dotnet.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 init-dotnet.sh (limited to 'init-dotnet.sh') diff --git a/init-dotnet.sh b/init-dotnet.sh new file mode 100644 index 0000000000..f7ac32bad7 --- /dev/null +++ b/init-dotnet.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +__scriptpath=$(cd "$(dirname "$0")"; pwd -P) + +echo "Installing dotnet using Arcade..." + +source $__scriptpath/eng/configure-toolset.sh +source $__scriptpath/eng/common/tools.sh + +InitializeBuildTool + +if [ $? != 0 ]; then + echo "Failed to install dotnet using Arcade" + exit $? +fi -- cgit v1.2.3