-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from luuksommers/develop
Add appveyor badges to master branch
- Loading branch information
Showing
8 changed files
with
40 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
# YamlTransform | ||
[![Build status](https://ci.appveyor.com/api/projects/status/8hlsio9gcq9u4416?svg=true)](https://ci.appveyor.com/project/berendhaan/ymltransform) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/8hlsio9gcq9u4416/branch/master?svg=true)](https://ci.appveyor.com/project/berendhaan/ymltransform/branch/master) | ||
|
||
|
||
Transforms Sitecore Yml files during deployment. Like web transform for yml files. |
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,25 @@ | ||
using CommandLine; | ||
|
||
namespace YmlTransform.Models | ||
{ | ||
class Options | ||
{ | ||
/// <summary> | ||
/// Path to folder containing .yml files | ||
/// </summary> | ||
[Option('p', "path", Required = true, HelpText = "Path to folder containing .yml files")] | ||
public string Path { get; set; } | ||
|
||
/// <summary> | ||
/// Walk recursive through the folder structure | ||
/// </summary> | ||
[Option('r', "recursive", Required = false, HelpText = "Loop recursively", DefaultValue = false)] | ||
public bool Recursive { get; set; } | ||
|
||
/// <summary> | ||
/// Path to the file containing the transformations | ||
/// </summary> | ||
[Option('t', "transform", Required = true, HelpText = "Transformation file")] | ||
public string TransformFile { get; set; } | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/YmlTransform/TransformItem.cs → src/YmlTransform/Models/TransformItem.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
using System; | ||
|
||
namespace YmlTransform | ||
namespace YmlTransform.Models | ||
{ | ||
class TransformItem | ||
{ | ||
|
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
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
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
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
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