From 13036933eead5ea94c8bf7447e302ee175805181 Mon Sep 17 00:00:00 2001 From: Jared Hester Date: Mon, 5 Dec 2016 16:59:28 -0500 Subject: [PATCH] inspect travis cli install dir --- build.fsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.fsx b/build.fsx index bdc67e08b3..afc4cd1bfe 100644 --- a/build.fsx +++ b/build.fsx @@ -157,6 +157,11 @@ Target "InstallDotNetCore" (fun _ -> webclient.DownloadFile(downloadPath, localPath) System.IO.Compression.ZipFile.ExtractToDirectory(localPath, dotnetCliPath.FullName) + tracefn "dotnet cli path - %s" dotnetCliPath.FullName + System.IO.Directory.EnumerateFiles dotnetCliPath.FullName + |> Seq.iter (fun path -> tracefn " - %s" path) + System.IO.Directory.EnumerateDirectories dotnetCliPath.FullName + |> Seq.iter (fun path -> tracefn " - %s%c" path System.IO.Path.DirectorySeparatorChar) let oldPath = System.Environment.GetEnvironmentVariable("PATH") System.Environment.SetEnvironmentVariable("PATH", sprintf "%s%s%s" dotnetCliPath.FullName (System.IO.Path.PathSeparator.ToString()) oldPath)