Browse Source

add Console.Waterworks to CLI and wire it in.

master
Craig Oates 6 years ago
parent
commit
5e2929a5ac
  1. 5
      DeathSocketCLI/Commands.fs
  2. 4
      DeathSocketCLI/DeathSocketCLI.fsproj
  3. 5
      DeathSocketCLI/Program.fs
  4. 1
      DeathSocketCLI/packages.config

5
DeathSocketCLI/Commands.fs

@ -0,0 +1,5 @@
namespace Commands
module ConsoleCommands =
let test () = "Death Socket is working."

4
DeathSocketCLI/DeathSocketCLI.fsproj

@ -46,11 +46,15 @@
<Import Project="$(FSharpTargetsPath)" />
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="Commands.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="FSharp.Core">
<HintPath>..\packages\FSharp.Core.4.5.2\lib\net45\FSharp.Core.dll</HintPath>
</Reference>

5
DeathSocketCLI/Program.fs

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

1
DeathSocketCLI/packages.config

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