Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for F# templates #399

Open
Aaronontheweb opened this issue Jan 21, 2025 · 2 comments
Open

Add support for F# templates #399

Aaronontheweb opened this issue Jan 21, 2025 · 2 comments

Comments

@Aaronontheweb
Copy link
Member

We should have some dotnet new templates for F# users - and we should probably split this repository into separate C# / F# folders so they can each be maintained separately

@richardjharding
Copy link

I'd be happy to help port the existing ones to F# - I guess they could then be iterated on to make more F# idiomatic ?
Do you envisage a structure like the following

src/csharp/AkkaConsoleTemplate
src/fsharp/AkkaConsoleTemplate

Would that work with build.package process?

@Aaronontheweb
Copy link
Member Author

Aaronontheweb commented Jan 24, 2025

@richardjharding that would work great - the WebAPI template we should not do anything with right now because I need to do another round of simplification with it, but the Console template and the Streams template are good to go for porting to F#
That folder structure works great too - make sure you update

Create-And-Build "akka.console" "AkkaConsole" "C#" "f" "net9.0" $binlog
Create-And-Build "akka.console" "AkkaConsole" "C#" "f" "net8.0" $binlog
Create-And-Build "akka.streams" "AkkaStreams" "C#" "f" "net9.0" $binlog
Create-And-Build "akka.streams" "AkkaStreams" "C#" "f" "net8.0" $binlog

to include testing for the new templates!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants