-
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.
Switching to Wyam static site from MVC.
- Loading branch information
Showing
364 changed files
with
1,574 additions
and
29 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,78 @@ | ||
# EditorConfig is awesome:http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Don't use tabs for indentation. | ||
[*] | ||
indent_style = space | ||
# (Please don't specify an indent_size here; that has too many unintended consequences.) | ||
|
||
# Code files | ||
[*.{cs,csx,vb,vbx}] | ||
indent_size = 4 | ||
|
||
# Xml project files | ||
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}] | ||
indent_size = 2 | ||
|
||
# Xml config files | ||
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}] | ||
indent_size = 2 | ||
|
||
# JSON files | ||
[*.json] | ||
indent_size = 2 | ||
|
||
# Dotnet code style settings: | ||
[*.{cs,vb}] | ||
# Sort using and Import directives with System.* appearing first | ||
dotnet_sort_system_directives_first = true | ||
# Avoid "this." and "Me." if not necessary | ||
dotnet_style_qualification_for_field = false:suggestion | ||
dotnet_style_qualification_for_property = false:suggestion | ||
dotnet_style_qualification_for_method = false:suggestion | ||
dotnet_style_qualification_for_event = false:suggestion | ||
|
||
# Use language keywords instead of framework type names for type references | ||
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion | ||
dotnet_style_predefined_type_for_member_access = true:suggestion | ||
|
||
# Suggest more modern language features when available | ||
dotnet_style_object_initializer = true:suggestion | ||
dotnet_style_collection_initializer = true:suggestion | ||
dotnet_style_coalesce_expression = true:suggestion | ||
dotnet_style_null_propagation = true:suggestion | ||
dotnet_style_explicit_tuple_names = true:suggestion | ||
|
||
# CSharp code style settings: | ||
[*.cs] | ||
# Prefer "var" everywhere | ||
csharp_style_var_for_built_in_types = true:suggestion | ||
csharp_style_var_when_type_is_apparent = true:suggestion | ||
csharp_style_var_elsewhere = true:suggestion | ||
|
||
# Prefer method-like constructs to have a block body | ||
csharp_style_expression_bodied_methods = false:none | ||
csharp_style_expression_bodied_constructors = false:none | ||
csharp_style_expression_bodied_operators = false:none | ||
|
||
# Prefer property-like constructs to have an expression-body | ||
csharp_style_expression_bodied_properties = true:none | ||
csharp_style_expression_bodied_indexers = true:none | ||
csharp_style_expression_bodied_accessors = true:none | ||
|
||
# Suggest more modern language features when available | ||
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion | ||
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion | ||
csharp_style_inlined_variable_declaration = true:suggestion | ||
csharp_style_throw_expression = true:suggestion | ||
csharp_style_conditional_delegate_call = true:suggestion | ||
|
||
# Newline settings | ||
csharp_new_line_before_open_brace = all | ||
csharp_new_line_before_else = true | ||
csharp_new_line_before_catch = true | ||
csharp_new_line_before_finally = true | ||
csharp_new_line_before_members_in_object_initializers = true | ||
csharp_new_line_before_members_in_anonymous_types = true |
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,63 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto | ||
|
||
############################################################################### | ||
# Set default behavior for command prompt diff. | ||
# | ||
# This is need for earlier builds of msysgit that does not have it on by | ||
# default for csharp files. | ||
# Note: This is only used by command line | ||
############################################################################### | ||
#*.cs diff=csharp | ||
|
||
############################################################################### | ||
# Set the merge driver for project and solution files | ||
# | ||
# Merging from the command prompt will add diff markers to the files if there | ||
# are conflicts (Merging from VS is not affected by the settings below, in VS | ||
# the diff markers are never inserted). Diff markers may cause the following | ||
# file extensions to fail to load in VS. An alternative would be to treat | ||
# these files as binary and thus will always conflict and require user | ||
# intervention with every merge. To do so, just uncomment the entries below | ||
############################################################################### | ||
#*.sln merge=binary | ||
#*.csproj merge=binary | ||
#*.vbproj merge=binary | ||
#*.vcxproj merge=binary | ||
#*.vcproj merge=binary | ||
#*.dbproj merge=binary | ||
#*.fsproj merge=binary | ||
#*.lsproj merge=binary | ||
#*.wixproj merge=binary | ||
#*.modelproj merge=binary | ||
#*.sqlproj merge=binary | ||
#*.wwaproj merge=binary | ||
|
||
############################################################################### | ||
# behavior for image files | ||
# | ||
# image files are treated as binary by default. | ||
############################################################################### | ||
#*.jpg binary | ||
#*.png binary | ||
#*.gif binary | ||
|
||
############################################################################### | ||
# diff behavior for common document formats | ||
# | ||
# Convert binary document formats to text before diffing them. This feature | ||
# is only available from the command line. Turn it on by uncommenting the | ||
# entries below. | ||
############################################################################### | ||
#*.doc diff=astextplain | ||
#*.DOC diff=astextplain | ||
#*.docx diff=astextplain | ||
#*.DOCX diff=astextplain | ||
#*.dot diff=astextplain | ||
#*.DOT diff=astextplain | ||
#*.pdf diff=astextplain | ||
#*.PDF diff=astextplain | ||
#*.rtf diff=astextplain | ||
#*.RTF diff=astextplain |
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,11 +1,16 @@ | ||
################################################################################ | ||
# This .gitignore file was automatically created by Microsoft(R) Visual Studio. | ||
################################################################################ | ||
############################## | ||
# Repository Specific Ignores | ||
############################## | ||
|
||
/.vs | ||
**/packages | ||
############################## | ||
# Common Ignores | ||
############################## | ||
/packages | ||
**/bin | ||
**/obj | ||
**/bower_components | ||
**/node_modules | ||
**/*.csproj.user | ||
/.vs | ||
**/PrecompiledWeb | ||
*.user | ||
*.mdf | ||
*.ldf |
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,90 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26206.0 | ||
MinimumVisualStudioVersion = 15.0.26124.0 | ||
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "input", "input\", "{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}" | ||
ProjectSection(WebsiteProperties) = preProject | ||
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" | ||
Debug.AspNetCompiler.VirtualPath = "/localhost_51098" | ||
Debug.AspNetCompiler.PhysicalPath = "input\" | ||
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_51098\" | ||
Debug.AspNetCompiler.Updateable = "true" | ||
Debug.AspNetCompiler.ForceOverwrite = "true" | ||
Debug.AspNetCompiler.FixedNames = "false" | ||
Debug.AspNetCompiler.Debug = "True" | ||
Release.AspNetCompiler.VirtualPath = "/localhost_51098" | ||
Release.AspNetCompiler.PhysicalPath = "input\" | ||
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_51098\" | ||
Release.AspNetCompiler.Updateable = "true" | ||
Release.AspNetCompiler.ForceOverwrite = "true" | ||
Release.AspNetCompiler.FixedNames = "false" | ||
Release.AspNetCompiler.Debug = "False" | ||
VWDPort = "51098" | ||
SlnRelativePath = "input\" | ||
EndProjectSection | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "solution items", "solution items", "{BB4C59CC-D560-49E0-AB9D-96348A3A6C23}" | ||
ProjectSection(SolutionItems) = preProject | ||
.editorconfig = .editorconfig | ||
.gitattributes = .gitattributes | ||
.gitignore = .gitignore | ||
build.cake = build.cake | ||
config.wyam = config.wyam | ||
EndProjectSection | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShaneSpace.Blog.DataImport", "src\ShaneSpace.Blog.DataImport\ShaneSpace.Blog.DataImport.csproj", "{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShaneSpace.Blog.Mvc", "src\ShaneSpace.Blog.Mvc\ShaneSpace.Blog.Mvc.csproj", "{072477BC-4EFD-4A52-9524-F783E0A6E98B}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Debug|x64.Build.0 = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Debug|x86.Build.0 = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Release|Any CPU.ActiveCfg = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Release|Any CPU.Build.0 = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Release|x64.ActiveCfg = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Release|x64.Build.0 = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Release|x86.ActiveCfg = Debug|Any CPU | ||
{233CEF67-356E-44DD-95D7-E1CD8A74DBFD}.Release|x86.Build.0 = Debug|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Debug|x64.Build.0 = Debug|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Debug|x86.Build.0 = Debug|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Release|x64.ActiveCfg = Release|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Release|x64.Build.0 = Release|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Release|x86.ActiveCfg = Release|Any CPU | ||
{70BC2A78-3EDD-40E8-BE29-4D48AD4A421D}.Release|x86.Build.0 = Release|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Debug|x64.Build.0 = Debug|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Debug|x86.Build.0 = Debug|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Release|x64.ActiveCfg = Release|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Release|x64.Build.0 = Release|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Release|x86.ActiveCfg = Release|Any CPU | ||
{072477BC-4EFD-4A52-9524-F783E0A6E98B}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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,56 @@ | ||
#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0 | ||
#addin "Cake.Powershell" | ||
|
||
////////////////////////////////////////////////////////////////////// | ||
// ARGUMENTS | ||
////////////////////////////////////////////////////////////////////// | ||
|
||
var target = Argument("target", "Default"); | ||
var configuration = Argument("configuration", "Release"); | ||
|
||
////////////////////////////////////////////////////////////////////// | ||
// PREPARATION | ||
////////////////////////////////////////////////////////////////////// | ||
|
||
// Define directories. | ||
var buildDir = Directory("./src/Example/bin") + Directory(configuration); | ||
|
||
////////////////////////////////////////////////////////////////////// | ||
// TASKS | ||
////////////////////////////////////////////////////////////////////// | ||
|
||
#tool nuget:?package=Wyam | ||
#addin nuget:?package=Cake.Wyam | ||
|
||
Task("Build") | ||
.Does(() => | ||
{ | ||
Wyam(); | ||
}); | ||
|
||
Task("Preview") | ||
.Does(() => | ||
{ | ||
StartPowershellScript("Start-Process", args => | ||
{ | ||
args.AppendQuoted("http://localhost:5080"); | ||
}); | ||
Wyam(new WyamSettings | ||
{ | ||
Preview = true, | ||
Watch = true | ||
}); | ||
}); | ||
|
||
////////////////////////////////////////////////////////////////////// | ||
// TASK TARGETS | ||
////////////////////////////////////////////////////////////////////// | ||
|
||
Task("Default") | ||
.IsDependentOn("Build"); | ||
|
||
////////////////////////////////////////////////////////////////////// | ||
// EXECUTION | ||
////////////////////////////////////////////////////////////////////// | ||
|
||
RunTarget(target); |
Oops, something went wrong.