Skip to content

Commit

Permalink
Update template config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim-Maes committed Dec 7, 2023
1 parent 85bb552 commit 5341d30
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ csharp_prefer_braces = true # Prefer curly braces even for one line of code
# name all constant fields using PascalCase
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.required_modifiers = const
dotnet_naming_style.pascal_case_style.capitalization = pascal_case

# internal and private fields should be _camelCase
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
Expand Down
15 changes: 14 additions & 1 deletion .template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,18 @@
"replaces": "GraphR",
"defaultValue": "GraphR"
}
}
},
"sources": [
{
"source": "./",
"target": "./",
"exclude": [
".template.config/**/*",
"*.nuspec"
],
"rename": {
"README-template.md": "README.md"
}
}
]
}
4 changes: 2 additions & 2 deletions GraphR.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>GraphR</id>
<version>0.1.8</version>
<version>0.1.9</version>
<authors>Tim Maes</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
Expand All @@ -18,6 +18,6 @@
</metadata>
<files>
<file src="README.md" />
<file src="**" exclude="**\bin\**\*;**\obj\**\*;**\*.user;**\*.lock.json;**\.DS_Store;**\.git\**\*;**\.github\**\*;**\.vs\**\*;**\*LICENSE;**\*.gitattributes;**\*.gitignore;**\*nuget.config;" target="/content" />
<file src="**" exclude="**\bin\**\*;**\obj\**\*;**\.git\**\*;**\.github\**\*;**\.vs\**\*;**\*LICENSE;**\*.gitattributes;**\*.gitignore;**\*nuget.config;.\LICENSE;.\README.md;" target="/content" />
</files>
</package>
3 changes: 2 additions & 1 deletion GraphR.sln
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00 Solution Items", "00 Sol
.gitignore = .gitignore
GraphR.nuspec = GraphR.nuspec
README.md = README.md
template.json = template.json
README-template.md = README-template.md
.template.config\template.json = .template.config\template.json
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GraphR.Core", "src\GraphR.Core\GraphR.Core.csproj", "{B6B07DE4-48AD-4FA1-82AE-50FC10798C86}"
Expand Down
Empty file added README-template.md
Empty file.

0 comments on commit 5341d30

Please sign in to comment.