Initial commit
This commit is contained in:
commit
8580a6b60f
5 changed files with 95 additions and 0 deletions
12
content/templates/myprecious/.template.config/template.json
Normal file
12
content/templates/myprecious/.template.config/template.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "DavidOnTop",
|
||||
"classifications": ["configuration", "personal"],
|
||||
"identity": "DavidOnTop.Template.FSConfig",
|
||||
"name": "Simple f# configuration template",
|
||||
"shortName": "myprecious",
|
||||
"tags": {
|
||||
"language": "F#",
|
||||
"type": "project"
|
||||
}
|
||||
}
|
25
content/templates/myprecious/dot/.editorconfig
Normal file
25
content/templates/myprecious/dot/.editorconfig
Normal file
|
@ -0,0 +1,25 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.fs]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
fsharp_newline_between_type_definition_and_members=true
|
||||
fsharp_multiline_bracket_style=aligned
|
||||
fsharp_keep_max_number_of_blank_lines=1
|
||||
fsharp_multiline_bracket_style = stroustrup
|
||||
|
||||
[*.fsi]
|
||||
fsharp_newline_between_type_definition_and_members=true
|
||||
fsharp_keep_max_number_of_blank_lines=1
|
||||
|
||||
[*.{yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
2
content/templates/myprecious/dot/.gitignore
vendored
Normal file
2
content/templates/myprecious/dot/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
bin
|
||||
obj
|
26
content/templates/myprecious/dot/LICENSE
Normal file
26
content/templates/myprecious/dot/LICENSE
Normal file
|
@ -0,0 +1,26 @@
|
|||
GLWTS(Good Luck With That Shit) Public License
|
||||
Copyright (c) Every-fucking-one, except the Author
|
||||
|
||||
Everyone is permitted to copy, distribute, modify, merge, sell, publish,
|
||||
sublicense or whatever the fuck they want with this software but at their
|
||||
OWN RISK.
|
||||
|
||||
Preamble
|
||||
|
||||
The author has absolutely no fucking clue what the code in this project
|
||||
does. It might just fucking work or not, there is no third option.
|
||||
|
||||
|
||||
GOOD LUCK WITH THAT SHIT PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION, AND MODIFICATION
|
||||
|
||||
0. You just DO WHATEVER THE FUCK YOU WANT TO as long as you NEVER LEAVE
|
||||
A FUCKING TRACE TO TRACK THE AUTHOR of the original product to blame for
|
||||
or hold responsible.
|
||||
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Good luck and Godspeed.
|
30
fs-template.csproj
Normal file
30
fs-template.csproj
Normal file
|
@ -0,0 +1,30 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- The package metadata. Fill in the properties marked as TODO below -->
|
||||
<!-- Follow the instructions on https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices -->
|
||||
<PackageId>fs_template</PackageId>
|
||||
<PackageVersion>1.0</PackageVersion>
|
||||
|
||||
<PackageType>Template</PackageType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<IncludeContentInPack>true</IncludeContentInPack>
|
||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||
<ContentTargetFolders>content</ContentTargetFolders>
|
||||
<NoWarn>$(NoWarn);NU5128</NoWarn>
|
||||
<NoDefaultExcludes>true</NoDefaultExcludes>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<LocalizeTemplates>false</LocalizeTemplates>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.TemplateEngine.Tasks" Version="*" PrivateAssets="all" IsImplicitlyDefined="true"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="content\**\*" />
|
||||
<Compile Remove="**\*" />
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Reference in a new issue