forked from SitecoreUnicorn/Unicorn
-
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.
Added ability to sort by dependency or by config file order Added .editorconfig file for indentation management
- Loading branch information
1 parent
f7e8bd3
commit bc76a63
Showing
18 changed files
with
430 additions
and
385 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
; Top-most EditorConfig file | ||
root = true | ||
|
||
; 4-column space indentation | ||
[*] | ||
indent_style = tab | ||
indent_size = 4 |
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
24 changes: 12 additions & 12 deletions
24
src/Unicorn/Configuration/ExplicitConfigurationDependency.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,16 +1,16 @@ | ||
namespace Unicorn.Configuration | ||
{ | ||
internal class ExplicitConfigurationDependency : IConfigurationDependency | ||
{ | ||
public ExplicitConfigurationDependency(IConfiguration configuration) | ||
{ | ||
this.Configuration = configuration; | ||
} | ||
internal class ExplicitConfigurationDependency : IConfigurationDependency | ||
{ | ||
public ExplicitConfigurationDependency(IConfiguration configuration) | ||
{ | ||
this.Configuration = configuration; | ||
} | ||
|
||
public IConfiguration Configuration { get; } | ||
public string GetLogMessage() | ||
{ | ||
return $"There is an explicit dependency on '{Configuration.Name}' in the configuration."; | ||
} | ||
} | ||
public IConfiguration Configuration { get; } | ||
public string GetLogMessage() | ||
{ | ||
return $"There is an explicit dependency on '{Configuration.Name}' in the configuration."; | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.