Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vbfox/FSharpTemplates
F# templates for dotnet new
https://github.com/vbfox/FSharpTemplates
dotnet dotnet-new dotnet-template fsharp template
Last synced: 4 months ago
JSON representation
F# templates for dotnet new
- Host: GitHub
- URL: https://github.com/vbfox/FSharpTemplates
- Owner: vbfox
- Archived: true
- Created: 2017-02-08T22:12:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T22:10:24.000Z (over 7 years ago)
- Last Synced: 2024-01-16T06:04:45.041Z (6 months ago)
- Topics: dotnet, dotnet-new, dotnet-template, fsharp, template
- Language: F#
- Size: 49.8 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Lists
- awesome-fsharp - vbfox's F# Templates
README
F# Templates for `dotnet new`
=============================> ️️️⚠️️ All theses templates reflect my personal way of architecturing projects, if you don't like it fork and create your own !
Installation
* Checkout the repository
* `dotnet new --install FSharpTemplates/content/FSharp-Dll-Sln`FSharp-Dll-Sln
--------------```bash
dotnet new paketsln -n MyNewProject -o MyNewProject --github-user vbfox --github-project MyNewProject --nuget "BlackFox.MyNewProject" --author "Julien Roncaglia"
```My own take on a full F# solution for VS2015 / .Net 4.5.2 :
* Project must be hosted on GitHub
* Include a library project and an unit test (NUnit) project
* Use paket as package manager.
* FAKE as build system with a [ProjectScaffold](https://fsprojects.github.io/ProjectScaffold/) inspired script
* Take the version number from a `Release Notes.md` file
* SourceLink is automatically applied to have the pdb link to GitHub
* `build` Build & run the unit tests
* `build release` Create a Git tag, GitHub release and publish the package to Nuget
* Is ready for AppVeyor
* Publishing correct version numbers
* Uploading test results
* Publishing artifacts (Zip file and Nuget package)
* Is ready for TravisCI
* All build output is in `/artifacts/` (bin, obj, nuget package)The solution come with 2 projects: A library and an unit test project
(Using NUnit).Parameters:
* `--github-user` Name of the github user as it appear in URLs
* `--github-project` Name of the github project as it appear in URLs
* `--nuget` Name of the nuget package
* `--author` Full name of the author (For copyright, nuget package author, ...)