dotnet-installer/build_projects/shared-build-targets-utils/Utils/Dirs.cs

18 lines
529 B
C#
Raw Normal View History

using System;
2016-02-02 18:04:50 +00:00
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.DotNet.InternalAbstractions;
2016-02-02 18:04:50 +00:00
namespace Microsoft.DotNet.Cli.Build
{
public static class Dirs
{
public static readonly string RepoRoot = Directory.GetCurrentDirectory();
2016-02-02 18:04:50 +00:00
public static readonly string Output = Path.Combine(
RepoRoot,
2016-02-02 18:04:50 +00:00
"artifacts",
RuntimeEnvironment.GetRuntimeIdentifier());
2016-02-02 18:04:50 +00:00
public static readonly string Packages = Path.Combine(Output, "packages");
}
}