Skip to content

Commit

Permalink
Add step to run this sample with Docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf authored and Krzysztof-Cieslak committed Mar 21, 2020
1 parent cd8420b commit 12568d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ obj
bin
.ionide
paket-files
.DS_Store
.DS_Store
.idea/
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ printfn "RESULT: %s" t

## How to use sample

1. Have .Net 5 preview 1 installed
2. Run `dotnet publish --project src/DependencyManager.FsProj`
3. To run sample script from `test.fsx` file run `dotnet fsi --langversion:preview --compilertool:./src/DependencyManager.FsProj/bin/Debug/netstandard2.0/publish test.fsx`
4. Alternatively, start FSI in interactive mode with `dotnet fsi --langversion:preview --compilertool:./src/DependencyManager.FsProj/bin/Debug/netstandard2.0/publish` and type above script by hand.
1. Have .NET 5 preview 1 installed
2. Alternatively, Start a Docker container with the latest preview interactively `docker run --rm -it -v "${pwd}:/app" -w "/app" mcr.microsoft.com/dotnet/core/sdk:5.0.100-preview bash` or run `run.ps1` with PowerShell.
3. Run `dotnet publish src/DependencyManager.FsProj`
4. To run sample script from `test.fsx` file run `dotnet fsi --langversion:preview --compilertool:./src/DependencyManager.FsProj/bin/Debug/netstandard2.0/publish test.fsx`
5. Alternatively, start FSI in interactive mode with `dotnet fsi --langversion:preview --compilertool:./src/DependencyManager.FsProj/bin/Debug/netstandard2.0/publish` and type above script by hand.

## How to contribute

Expand Down

0 comments on commit 12568d4

Please sign in to comment.