Skip to content

jtonic/Tma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TMA F# Project

Project Structure

Tma
  src
    TmaConsole
      TmaConsole.fsharp
      Program.fs
    TmaPersistence
      TmaPersistence.fsharp
      Library.fs
    TmaMessaging
      TmaMessaging.fsharp
      Library.fs
  test
    TmaTests.fsharp
    TmaTests.fs
Tma.sln

Used libraries:

  • Argu (cli)
  • Expecto (test)

Build solution

dotnet build

Run app

dotnet run --project src/TmaConsole/TmaConsole.fsproj

Run the application in watch mode

dotnet watch run --project src/CSharpConsole

Run tests

dotnet run --project tests/TmaTests/TmaTests.fsproj

publish the executable

  • add the following in src/TmaConsole/TmaConsole.fsproj to create the executable with dotnet 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

Useful links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published