Advertisement
Guest User

fsharp_sln.sh

a guest
Apr 10th, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. # Usage (Pascal naming): ./fsharp_sln.sh FooBar
  4.  
  5. sol=$1
  6.  
  7. dotnet new sln -o $sol
  8. dotnet new console -lang F# -o $sol
  9. cd $sol
  10. dotnet sln add $sol.fsproj
  11.  
  12. dotnet add $sol.fsproj package Newtonsoft.Json
  13.  
  14. # References
  15. #
  16. # Get started with F# with the .NET Core CLI
  17. # https://docs.microsoft.com/en-us/dotnet/fsharp/get-started/get-started-command-line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement