enerqi / fsharp-netcore-skeleton

Fsharp dotnet core project skeleton
1 stars 0 forks source link

looking to clone library skeleton #1

Open ORESoftware opened 5 years ago

ORESoftware commented 5 years ago

i am looking to clone an f# library skeleton with all the config files etc, this project doesnt seem like what i am looking for?

enerqi commented 5 years ago

It's a command line tool (rather than something to clone) that generates a skeleton with config files. It is at the moment, however, out of date in some regards so doesn't seem to be working correctly (e.g. dotnet new -i 'Expecto.Template::*' should now just be dotnet new -i Expecto.Template. I've mostly been working with Fable projects which already have templates.

enerqi commented 5 years ago

Another alternative not mentionend in this project's readme is this Scaffold project - seems to support dotnet core. ProjectScaffold is the longest lived solution for libraries, but is not for dotnet core. Update: or rather it wasn't - not sure anymore It looks like it might have been updated within the last 8 months to work with dotnet core - worth taking a look.

ORESoftware commented 5 years ago

Don't do it with a special CLI. To get the skeleton, all you need to do is git clone x and then you have all the files in the right place. Of course, depending on someone's system it might have to be a little bit dynamic, but usually not.