Browse Source

Added script file to BFLibCore.

master
Craig Oates 4 years ago
parent
commit
b79534d112
  1. 3
      BFLibCore/BFLibCore.fsproj
  2. 16
      BFLibCore/ExampleScripts.fsx
  3. 2
      BrittleFishCore/BrittleFishCore.fsproj

3
BFLibCore/BFLibCore.fsproj

@ -5,7 +5,10 @@
</PropertyGroup>
<ItemGroup>
<None Include="ExampleScripts.fsx" />
<Compile Include="FunkyFishCore.fs" />
</ItemGroup>
<ItemGroup />
</Project>

16
BFLibCore/ExampleScripts.fsx

@ -0,0 +1,16 @@
// Use this script file to test out the BFLibCore functions in F# Interactive (no need to compile).
#load "FunkyFishCore.fs"
open FunkyFishCore
let exampleOne = LibraryTest1 5 5
printfn "The result for LibraryTest1 is %i" exampleOne
let exampleTwo = LibraryTest2 5 10 3
printfn "The result for LibraryTest2 is %i" exampleTwo
let exampleThree = LibraryTest3 "Sherlock"
printfn "The result for LibraryTest3 is %s" exampleThree
// Feel free to add more functions and test them out here.
// Once they are working as intended you can move them over to ConsoleCommands in BrittleFishCore.

2
BrittleFishCore/BrittleFishCore.fsproj

@ -34,4 +34,6 @@
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup />
</Project>

Loading…
Cancel
Save