-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved platform-specific members to platform dirs (#175)
- Loading branch information
Dor
authored
May 30, 2019
1 parent
038b15c
commit bddf7a9
Showing
5 changed files
with
68 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/BuildScriptGenerator/DotNetCore/BuildScriptGeneratorContextDotNetCoreExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
src/BuildScriptGenerator/Node/BuildScriptGeneratorContextNodeExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/BuildScriptGenerator/Python/BuildScriptGeneratorContextPythonExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | ||
} | ||
} |