From b79534d11215dc450a49751fb87aa36476b7a4d5 Mon Sep 17 00:00:00 2001 From: "HOT-ROD\\craig" Date: Sun, 1 Jul 2018 22:17:47 +0100 Subject: [PATCH] Added script file to BFLibCore. --- BFLibCore/BFLibCore.fsproj | 3 +++ BFLibCore/ExampleScripts.fsx | 16 ++++++++++++++++ BrittleFishCore/BrittleFishCore.fsproj | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 BFLibCore/ExampleScripts.fsx diff --git a/BFLibCore/BFLibCore.fsproj b/BFLibCore/BFLibCore.fsproj index 8ac13cf..2d97346 100644 --- a/BFLibCore/BFLibCore.fsproj +++ b/BFLibCore/BFLibCore.fsproj @@ -5,7 +5,10 @@ + + + diff --git a/BFLibCore/ExampleScripts.fsx b/BFLibCore/ExampleScripts.fsx new file mode 100644 index 0000000..71b7791 --- /dev/null +++ b/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. diff --git a/BrittleFishCore/BrittleFishCore.fsproj b/BrittleFishCore/BrittleFishCore.fsproj index 73edeae..ba29146 100644 --- a/BrittleFishCore/BrittleFishCore.fsproj +++ b/BrittleFishCore/BrittleFishCore.fsproj @@ -34,4 +34,6 @@ + +