Tma
src
TmaConsole
TmaConsole.fsharp
Program.fs
TmaPersistence
TmaPersistence.fsharp
Library.fs
TmaMessaging
TmaMessaging.fsharp
Library.fs
test
TmaTests.fsharp
TmaTests.fs
Tma.sln
- Argu (cli)
- Expecto (test)
dotnet build
dotnet run --project src/TmaConsole/TmaConsole.fsproj
dotnet watch run --project src/CSharpConsole
dotnet run --project tests/TmaTests/TmaTests.fsproj
- add the following in
src/TmaConsole/TmaConsole.fsproj
to create the executable withdotnet build
<RuntimeIdentifiers>osx-x64</RuntimeIdentifiers>
<!-- or -->
<RuntimeIdentifiers>linux-x64;win-x64;osx-x64</RuntimeIdentifiers>
-and create and run the executable (for the current platform)
dotnet publish
./src/TmaConsole/bin/Debug/net6.0/TmaConsole
-- or targeting another platform
dotnet publish -r win-x64