️️️
⚠️ ️ 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
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 inspired script
- Take the version number from a
Release Notes.mdfile - SourceLink is automatically applied to have the pdb link to GitHub
buildBuild & run the unit testsbuild releaseCreate a Git tag, GitHub release and publish the package to Nuget
- Take the version number from a
- 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-userName of the github user as it appear in URLs--github-projectName of the github project as it appear in URLs--nugetName of the nuget package--authorFull name of the author (For copyright, nuget package author, ...)