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 // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[<assembly: AssemblyTitle("SmoulderingBeachBallCLI")>] [<assembly: AssemblyTitle("Smouldering Beach Ball CLI")>]
[<assembly: AssemblyDescription("")>] [<assembly: AssemblyDescription("")>]
[<assembly: AssemblyConfiguration("")>] [<assembly: AssemblyConfiguration("")>]
[<assembly: AssemblyCompany("")>] [<assembly: AssemblyCompany("")>]
[<assembly: AssemblyProduct("SmoulderingBeachBallCLI")>] [<assembly: AssemblyProduct("Smouldering Beach Ball CLI")>]
[<assembly: AssemblyCopyright("Copyright © 2018")>] [<assembly: AssemblyCopyright("Copyright © 2018")>]
[<assembly: AssemblyTrademark("")>] [<assembly: AssemblyTrademark("")>]
[<assembly: AssemblyCulture("")>] [<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 // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [<assembly: AssemblyVersion("1.0.*")>] // [<assembly: AssemblyVersion("1.0.*")>]
[<assembly: AssemblyVersion("1.0.0.0")>] [<assembly: AssemblyVersion("0.2.0.0")>]
[<assembly: AssemblyFileVersion("1.0.0.0")>] [<assembly: AssemblyFileVersion("0.2.0.0")>]
do 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 open Console.Waterworks
// See the 'F# Tutorial' project for more help.
[<EntryPoint>] [<EntryPoint>]
let main argv = let main argv =
printfn "%A" argv let liaison = new CW_Liaison ()
liaison.Run ("Commands", true)
0 // return an integer exit code 0 // return an integer exit code

4
SmoulderingBeachBallCLI/SmoulderingBeachBallCLI.fsproj

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

1
SmoulderingBeachBallCLI/packages.config

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <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="FSharp.Core" version="4.5.2" targetFramework="net471" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net471" /> <package id="System.ValueTuple" version="4.5.0" targetFramework="net471" />
</packages> </packages>
Loading…
Cancel
Save