Browse Source

Added console.waterworks and wired it in.

Wrote a quick test command-method to see if it works.
master
Craig Oates 4 years ago
parent
commit
667786cec8
  1. 4
      BrittleFish/BrittleFish.fsproj
  2. 4
      BrittleFish/ConsoleCommands.fs
  3. 7
      BrittleFish/Program.fs
  4. 1
      BrittleFish/packages.config

4
BrittleFish/BrittleFish.fsproj

@ -56,11 +56,15 @@
<Import Project="$(FSharpTargetsPath)" />
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="ConsoleCommands.fs" />
<Compile Include="Program.fs" />
<None Include="App.config" />
<Content Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="Console.Waterworks">
<HintPath>..\packages\Console.Waterworks.0.1.0.0-alpha1\lib\Console.Waterworks.dll</HintPath>
</Reference>
<Reference Include="mscorlib" />
<Reference Include="FSharp.Core">
<Name>FSharp.Core</Name>

4
BrittleFish/ConsoleCommands.fs

@ -0,0 +1,4 @@
namespace Commands
module ConsoleCommands =
let Test() = "The console is working"

7
BrittleFish/Program.fs

@ -1,7 +1,10 @@
// Learn more about F# at http://fsharp.org
open Console.Waterworks
// Learn more about F# at http://fsharp.org
// See the 'F# Tutorial' project for more help.
[<EntryPoint>]
let main argv =
printfn "%A" argv
let liaison = CW_Liaison()
liaison.Run("Commands", true)
0 // return an integer exit code

1
BrittleFish/packages.config

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Console.Waterworks" version="0.1.0.0-alpha1" targetFramework="net471" />
<package id="System.ValueTuple" version="4.4.0" targetFramework="net471" />
</packages>
Loading…
Cancel
Save