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
4 changed files with 14 additions and 2 deletions
  1. +4
    -0
      BrittleFish/BrittleFish.fsproj
  2. +4
    -0
      BrittleFish/ConsoleCommands.fs
  3. +5
    -2
      BrittleFish/Program.fs
  4. +1
    -0
      BrittleFish/packages.config

+ 4
- 0
BrittleFish/BrittleFish.fsproj View File

@ -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
- 0
BrittleFish/ConsoleCommands.fs View File

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

+ 5
- 2
BrittleFish/Program.fs View File

@ -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
- 0
BrittleFish/packages.config View File

@ -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