Skip to content

Commit

Permalink
Moved platform-specific members to platform dirs (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor authored May 30, 2019
1 parent 038b15c commit bddf7a9
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 37 deletions.
36 changes: 0 additions & 36 deletions src/BuildScriptGenerator/BuildScriptGeneratorContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,41 +43,5 @@ public partial class BuildScriptGeneratorContext
/// Defaults to true.
/// </summary>
public bool EnableCheckers { get; set; } = true;

/// <summary>
/// Gets or sets a value indicating whether the detection and build of NodeJs
/// code in the repo should be enabled.
/// Defaults to true.
/// </summary>
public bool EnableNodeJs { get; set; } = true;

/// <summary>
/// Gets or sets a value indicating whether the detection and build of Python
/// code in the repo should be enabled.
/// Defaults to true.
/// </summary>
public bool EnablePython { get; set; } = true;

/// <summary>
/// Gets or sets a value indicating whether the detection and build of .NET core
/// code in the repo should be enabled.
/// Defaults to true.
/// </summary>
public bool EnableDotNetCore { get; set; } = true;

/// <summary>
/// Gets or sets the version of Python used in the repo.
/// </summary>
public string PythonVersion { get; set; }

/// <summary>
/// Gets or sets the version of Node used in the repo.
/// </summary>
public string NodeVersion { get; set; }

/// <summary>
/// Gets or sets the version of .NET Core used in the repo.
/// </summary>
public string DotnetCoreVersion { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------

namespace Microsoft.Oryx.BuildScriptGenerator
{
public partial class BuildScriptGeneratorContext
{
/// <summary>
/// Gets or sets a value indicating whether the detection and build of .NET core
/// code in the repo should be enabled.
/// Defaults to true.
/// </summary>
public bool EnableDotNetCore { get; set; } = true;

/// <summary>
/// Gets or sets the version of .NET Core used in the repo.
/// </summary>
public string DotnetCoreVersion { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------

namespace Microsoft.Oryx.BuildScriptGenerator
{
public partial class BuildScriptGeneratorContext
{
/// <summary>
/// Gets or sets a value indicating whether the detection and build of Node.js code
/// in the repo should be enabled.
/// Defaults to true.
/// </summary>
public bool EnableNodeJs { get; set; } = true;

/// <summary>
/// Gets or sets the version of Node used in the repo.
/// </summary>
public string NodeVersion { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ namespace Microsoft.Oryx.BuildScriptGenerator
public partial class BuildScriptGeneratorContext
{
/// <summary>
/// Gets or sets a value indicating whether the detection and build of PHP code in the repo should be enabled.
/// Gets or sets a value indicating whether the detection and build of PHP code
/// in the repo should be enabled.
/// Defaults to true.
/// </summary>
public bool EnablePhp { get; set; } = true;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------

namespace Microsoft.Oryx.BuildScriptGenerator
{
public partial class BuildScriptGeneratorContext
{
/// <summary>
/// Gets or sets a value indicating whether the detection and build of Python code
/// in the repo should be enabled.
/// Defaults to true.
/// </summary>
public bool EnablePython { get; set; } = true;

/// <summary>
/// Gets or sets the version of Python used in the repo.
/// </summary>
public string PythonVersion { get; set; }
}
}

0 comments on commit bddf7a9

Please sign in to comment.