Browse Source

setup Console.Waterwork in the CLI project.

master
Craig Oates 6 years ago
parent
commit
7c8032722e
  1. 10
      SmoulderingBeachBallCLI/AssemblyInfo.fs
  2. 6
      SmoulderingBeachBallCLI/ConsoleCommands.fs
  3. 6
      SmoulderingBeachBallCLI/Program.fs
  4. 4
      SmoulderingBeachBallCLI/SmoulderingBeachBallCLI.fsproj
  5. 1
      SmoulderingBeachBallCLI/packages.config

10
SmoulderingBeachBallCLI/AssemblyInfo.fs

@ -7,12 +7,12 @@ open System.Runtime.InteropServices
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[<assembly: AssemblyTitle("SmoulderingBeachBallCLI")>]
[<assembly: AssemblyTitle("Smouldering Beach Ball CLI")>]
[<assembly: AssemblyDescription("")>]
[<assembly: AssemblyConfiguration("")>]
[<assembly: AssemblyCompany("")>]
[<assembly: AssemblyProduct("SmoulderingBeachBallCLI")>]
[<assembly: AssemblyCopyright("Copyright © 2018")>]
[<assembly: AssemblyProduct("Smouldering Beach Ball CLI")>]
[<assembly: AssemblyCopyright("Copyright © 2018")>]
[<assembly: AssemblyTrademark("")>]
[<assembly: AssemblyCulture("")>]
@ -34,8 +34,8 @@ open System.Runtime.InteropServices
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [<assembly: AssemblyVersion("1.0.*")>]
[<assembly: AssemblyVersion("1.0.0.0")>]
[<assembly: AssemblyFileVersion("1.0.0.0")>]
[<assembly: AssemblyVersion("0.2.0.0")>]
[<assembly: AssemblyFileVersion("0.2.0.0")>]
do
()

6
SmoulderingBeachBallCLI/ConsoleCommands.fs

@ -0,0 +1,6 @@
namespace Commands
module ConsoleCommands =
let test() = "This program is working."

6
SmoulderingBeachBallCLI/Program.fs

@ -1,7 +1,7 @@
// 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 = new CW_Liaison ()
liaison.Run ("Commands", true)
0 // return an integer exit code

4
SmoulderingBeachBallCLI/SmoulderingBeachBallCLI.fsproj

@ -46,11 +46,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="FSharp.Core">
<HintPath>..\packages\FSharp.Core.4.5.2\lib\net45\FSharp.Core.dll</HintPath>
</Reference>

1
SmoulderingBeachBallCLI/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