giraffe-fsharp / giraffe-template

A dotnet new template for Giraffe web applications.
Apache License 2.0
37 stars 22 forks source link

Add App suffix to assembly name to avoid recursive reference #28

Closed tpetricek closed 4 years ago

tpetricek commented 4 years ago

I'm not sure how to test this, but if I correctly understand how this works, this PR should fix #27.

TheAngryByrd commented 4 years ago

To test:

You should be able to build with -InstallTemplate flag set. Then create a new folder somewhere and try the dotnet new giraffe

(doesn't look like the bash script passes along arguments to the powershell script so you'll have to just invoke the ps1)

dustinmoris commented 4 years ago

You can also use the -TestPermutations flag to test all the template builds. This will install the new template, then run the dotnet new giraffe command for all possible permutations and also run their individual build scripts which will execute tests if the permuation has tests. I'm currently running this locally...

FYI, this will then create all these different apps in a .temp folder:

image