Coder Social home page Coder Social logo

fsharptemplates's Introduction

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

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.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, ...)

fsharptemplates's People

Contributors

fornever avatar sayedihashimi avatar vbfox avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.