Skip to content
Draft

v4 #12

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions FSharp.CommandLine.fsproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
<Description>A framework for building command line application in F#. Supports command line option parsing, type-safe scanf, monadic command construction, automatic help &amp; shell completion generation, and so on.</Description>
<Authors>cannorin</Authors>
<Product />
<Copyright>(c) cannorin 2017-2022</Copyright>
<PackageProjectUrl>https://github.com/cannorin/FSharp.CommandLine</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/cannorin/FSharp.CommandLine/blob/master/LICENSE.txt</PackageLicenseUrl>
<PackageTags>fsharp commandline parsing framework</PackageTags>
</PropertyGroup>
<ItemGroup>
<Compile Include="src/version.fs" />
<Compile Include="src/prelude.fs" />
<Compile Include="src/abstractions.fs" />
<Compile Include="src/extensions.fs" />
<Compile Include="src/basictypes.fs" />
<Compile Include="src/exceptions.fs" />
<Compile Include="src/optionValues.fs" />
<Compile Include="src/generators.fs" />
<Compile Include="src/options.fs" />
<Compile Include="src/commands.fs" />
<Compile Include="src/builders.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FSharp.Scanf" Version="4.0.0" />
</ItemGroup>
</Project>
31 changes: 0 additions & 31 deletions FSharp.CommandLine.sln

This file was deleted.

3 changes: 2 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
* 4.0.0 - Massive refactoring
* 3.4.* - Indent multiline command descriptions
* 3.3.* - Fixed scanf parser.
* 3.2.* - Fixed scanf parser.
* 3.1.* - Improve comments. Some refactoring.
* 3.0.* - Breaking API changes. Use FAKE again. Refactor Scanf.
* 2.2.* - Fix broken NuGet dependency
* 2.2.* - Fix broken NuGet dependency
* 2.1.* - Separated scanf module
* 2.0.* - Breaking API changes: no more internal side effects
* 1.2.* - Get rid of FAKE
Expand Down
14 changes: 7 additions & 7 deletions build.fsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#r "paket:
source https://api.nuget.org/v3/index.json
nuget FSharp.Core
nuget Fake.DotNet.Cli
nuget Fake.IO.FileSystem
nuget Fake.DotNet.MSBuild
nuget Fake.Core.Target
nuget Fake.DotNet.AssemblyInfoFile
nuget Fake.Core.ReleaseNotes //"

nuget Fake.Core.Target
nuget Fake.Core.ReleaseNotes
nuget Fake.IO.FileSystem
//"
#load ".fake/build.fsx/intellisense.fsx"

open Fake.Core
open Fake.DotNet
open Fake.IO
Expand Down Expand Up @@ -51,7 +51,7 @@ let disableLogging (c: MSBuild.CliArguments) =
{ c with ConsoleLogParameters = []; DistributedLoggers = None; DisableInternalBinLog = true }

Target.create "WriteVersion" (fun _ ->
AssemblyInfoFile.createFSharp "./src/common/Version.fs" [
AssemblyInfoFile.createFSharp "./src/version.fs" [
AssemblyInfo.Version release.AssemblyVersion
AssemblyInfo.FileVersion release.AssemblyVersion
]
Expand All @@ -60,7 +60,7 @@ Target.create "WriteVersion" (fun _ ->
Target.create "Clean" (fun _ ->
!! "src/**/bin"
++ "src/**/obj"
|> Shell.cleanDirs
|> Shell.cleanDirs
)

Target.create "Build" (fun _ ->
Expand Down
Loading