Skip to content

Commit

Permalink
FAKE update and use Paket local tool
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-tihon committed Oct 30, 2019
1 parent 47ef83f commit ef15e20
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 111 deletions.
6 changes: 3 additions & 3 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"isRoot": true,
"tools": {
"paket": {
"version": "5.223.0",
"version": "5.227.0",
"commands": [
"paket"
]
},
"fake-cli": {
"version": "5.16.1",
"version": "5.18.2",
"commands": [
"fake"
]
},
"dotnet-serve": {
"version": "1.4.1",
"version": "1.5.0",
"commands": [
"dotnet-serve"
]
Expand Down
16 changes: 7 additions & 9 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,20 +171,18 @@ Target.create "RunTests" ignore
// Build a NuGet package

Target.create "NuGet" (fun _ ->
// Paket.pack(fun p ->
// { p with
// OutputPath = "bin"
// Version = release.NugetVersion
// ReleaseNotes = String.toLines release.Notes})
DotNet.exec id "paket"
(sprintf "pack bin --version %s --release-notes \"%s\""
release.NugetVersion (String.toLines release.Notes) )
|> ignore
Paket.pack(fun p ->
{ p with
ToolType = ToolType.CreateLocalTool()
OutputPath = "bin"
Version = release.NugetVersion
ReleaseNotes = String.toLines release.Notes})
)

Target.create "PublishNuget" (fun _ ->
Paket.push(fun p ->
{ p with
ToolType = ToolType.CreateLocalTool()
WorkingDir = "bin" })
)

Expand Down
201 changes: 102 additions & 99 deletions build.fsx.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,137 +4,139 @@ NUGET
remote: https://www.nuget.org/api/v2
BlackFox.VsWhere (1.0)
FSharp.Core (>= 4.2.3)
Fake.Api.GitHub (5.17)
Fake.Api.GitHub (5.18.2)
FSharp.Core (>= 4.7)
Octokit (>= 0.36)
Fake.Core.CommandLineParsing (5.17)
Fake.Core.CommandLineParsing (5.18.2)
FParsec (>= 1.0.3)
FSharp.Core (>= 4.7)
Fake.Core.Context (5.17)
Fake.Core.Context (5.18.2)
FSharp.Core (>= 4.7)
Fake.Core.Environment (5.17)
Fake.Core.Environment (5.18.2)
FSharp.Core (>= 4.7)
Fake.Core.FakeVar (5.17)
Fake.Core.Context (>= 5.17)
Fake.Core.FakeVar (5.18.2)
Fake.Core.Context (>= 5.18.2)
FSharp.Core (>= 4.7)
Fake.Core.Process (5.17)
Fake.Core.Environment (>= 5.17)
Fake.Core.FakeVar (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Trace (>= 5.17)
Fake.IO.FileSystem (>= 5.17)
Fake.Core.Process (5.18.2)
Fake.Core.Environment (>= 5.18.2)
Fake.Core.FakeVar (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
Fake.Core.Trace (>= 5.18.2)
Fake.IO.FileSystem (>= 5.18.2)
FSharp.Core (>= 4.7)
System.Diagnostics.Process (>= 4.3)
Fake.Core.ReleaseNotes (5.17)
Fake.Core.SemVer (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.ReleaseNotes (5.18.2)
Fake.Core.SemVer (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
FSharp.Core (>= 4.7)
Fake.Core.SemVer (5.17)
Fake.Core.SemVer (5.18.2)
FSharp.Core (>= 4.7)
System.Runtime.Numerics (>= 4.3)
Fake.Core.String (5.17)
Fake.Core.String (5.18.2)
FSharp.Core (>= 4.7)
Fake.Core.Target (5.17)
Fake.Core.CommandLineParsing (>= 5.17)
Fake.Core.Context (>= 5.17)
Fake.Core.Environment (>= 5.17)
Fake.Core.FakeVar (>= 5.17)
Fake.Core.Process (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Trace (>= 5.17)
Fake.Core.Target (5.18.2)
Fake.Core.CommandLineParsing (>= 5.18.2)
Fake.Core.Context (>= 5.18.2)
Fake.Core.Environment (>= 5.18.2)
Fake.Core.FakeVar (>= 5.18.2)
Fake.Core.Process (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
Fake.Core.Trace (>= 5.18.2)
FSharp.Control.Reactive (>= 4.2)
FSharp.Core (>= 4.7)
System.Reactive.Compatibility (>= 4.2)
Fake.Core.Tasks (5.17)
Fake.Core.Trace (>= 5.17)
Fake.Core.Tasks (5.18.2)
Fake.Core.Trace (>= 5.18.2)
FSharp.Core (>= 4.7)
Fake.Core.Trace (5.17)
Fake.Core.Environment (>= 5.17)
Fake.Core.FakeVar (>= 5.17)
Fake.Core.Trace (5.18.2)
Fake.Core.Environment (>= 5.18.2)
Fake.Core.FakeVar (>= 5.18.2)
FSharp.Core (>= 4.7)
Fake.Core.Xml (5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Xml (5.18.2)
Fake.Core.String (>= 5.18.2)
FSharp.Core (>= 4.7)
System.Xml.ReaderWriter (>= 4.3.1)
System.Xml.XDocument (>= 4.3)
System.Xml.XPath (>= 4.3)
System.Xml.XPath.XDocument (>= 4.3)
System.Xml.XPath.XmlDocument (>= 4.3)
Fake.DotNet.AssemblyInfoFile (5.17)
Fake.Core.Environment (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Trace (>= 5.17)
Fake.IO.FileSystem (>= 5.17)
Fake.DotNet.AssemblyInfoFile (5.18.2)
Fake.Core.Environment (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
Fake.Core.Trace (>= 5.18.2)
Fake.IO.FileSystem (>= 5.18.2)
FSharp.Core (>= 4.7)
Fake.DotNet.Cli (5.17)
Fake.Core.Environment (>= 5.17)
Fake.Core.Process (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Trace (>= 5.17)
Fake.DotNet.MSBuild (>= 5.17)
Fake.DotNet.NuGet (>= 5.17)
Fake.IO.FileSystem (>= 5.17)
Fake.DotNet.Cli (5.18.2)
Fake.Core.Environment (>= 5.18.2)
Fake.Core.Process (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
Fake.Core.Trace (>= 5.18.2)
Fake.DotNet.MSBuild (>= 5.18.2)
Fake.DotNet.NuGet (>= 5.18.2)
Fake.IO.FileSystem (>= 5.18.2)
FSharp.Core (>= 4.7)
Mono.Posix.NETStandard (>= 1.0)
Newtonsoft.Json (>= 12.0.2)
Fake.DotNet.FSFormatting (5.17)
Fake.Core.Process (>= 5.17)
Fake.IO.FileSystem (>= 5.17)
Fake.DotNet.FSFormatting (5.18.2)
Fake.Core.Process (>= 5.18.2)
Fake.IO.FileSystem (>= 5.18.2)
FSharp.Core (>= 4.7)
Fake.DotNet.Fsi (5.17)
Fake.Core.Environment (>= 5.17)
Fake.Core.Process (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Trace (>= 5.17)
Fake.DotNet.MSBuild (>= 5.17)
Fake.IO.FileSystem (>= 5.17)
Fake.Tools.Git (>= 5.17)
Fake.DotNet.Fsi (5.18.2)
Fake.Core.Environment (>= 5.18.2)
Fake.Core.Process (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
Fake.Core.Trace (>= 5.18.2)
Fake.DotNet.MSBuild (>= 5.18.2)
Fake.IO.FileSystem (>= 5.18.2)
Fake.Tools.Git (>= 5.18.2)
FSharp.Compiler.Service (>= 32.0)
FSharp.Core (>= 4.7)
Fake.DotNet.MSBuild (5.17)
Fake.DotNet.MSBuild (5.18.2)
BlackFox.VsWhere (>= 1.0)
Fake.Core.Environment (>= 5.17)
Fake.Core.Process (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Trace (>= 5.17)
Fake.IO.FileSystem (>= 5.17)
Fake.Core.Environment (>= 5.18.2)
Fake.Core.Process (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
Fake.Core.Trace (>= 5.18.2)
Fake.IO.FileSystem (>= 5.18.2)
FSharp.Core (>= 4.7)
MSBuild.StructuredLogger (>= 2.0.110)
Fake.DotNet.NuGet (5.17)
Fake.Core.Environment (>= 5.17)
Fake.Core.Process (>= 5.17)
Fake.Core.SemVer (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Tasks (>= 5.17)
Fake.Core.Trace (>= 5.17)
Fake.Core.Xml (>= 5.17)
Fake.IO.FileSystem (>= 5.17)
Fake.Net.Http (>= 5.17)
Fake.DotNet.NuGet (5.18.2)
Fake.Core.Environment (>= 5.18.2)
Fake.Core.Process (>= 5.18.2)
Fake.Core.SemVer (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
Fake.Core.Tasks (>= 5.18.2)
Fake.Core.Trace (>= 5.18.2)
Fake.Core.Xml (>= 5.18.2)
Fake.IO.FileSystem (>= 5.18.2)
Fake.Net.Http (>= 5.18.2)
FSharp.Core (>= 4.7)
Newtonsoft.Json (>= 12.0.2)
NuGet.Protocol (>= 4.9.4)
System.Net.Http (>= 4.3.4)
Fake.DotNet.Paket (5.17)
Fake.Core.Process (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Trace (>= 5.17)
Fake.IO.FileSystem (>= 5.17)
Fake.DotNet.Paket (5.18.2)
Fake.Core.Process (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
Fake.Core.Trace (>= 5.18.2)
Fake.DotNet.Cli (>= 5.18.2)
Fake.IO.FileSystem (>= 5.18.2)
FSharp.Core (>= 4.7)
Fake.IO.FileSystem (5.17)
Fake.Core.String (>= 5.17)
Fake.IO.FileSystem (5.18.2)
Fake.Core.String (>= 5.18.2)
FSharp.Core (>= 4.7)
System.Diagnostics.FileVersionInfo (>= 4.3)
System.IO.FileSystem.Watcher (>= 4.3)
Fake.Net.Http (5.17)
Fake.Core.Trace (>= 5.17)
Fake.Net.Http (5.18.2)
Fake.Core.Trace (>= 5.18.2)
FSharp.Core (>= 4.7)
System.Net.Http (>= 4.3.4)
Fake.Tools.Git (5.17)
Fake.Core.Environment (>= 5.17)
Fake.Core.Process (>= 5.17)
Fake.Core.SemVer (>= 5.17)
Fake.Core.String (>= 5.17)
Fake.Core.Trace (>= 5.17)
Fake.IO.FileSystem (>= 5.17)
Fake.Tools.Git (5.18.2)
Fake.Core.Environment (>= 5.18.2)
Fake.Core.Process (>= 5.18.2)
Fake.Core.SemVer (>= 5.18.2)
Fake.Core.String (>= 5.18.2)
Fake.Core.Trace (>= 5.18.2)
Fake.IO.FileSystem (>= 5.18.2)
FSharp.Core (>= 4.7)
FParsec (1.0.3)
FSharp.Core (>= 4.2.3)
Expand Down Expand Up @@ -186,6 +188,7 @@ NUGET
System.Memory (>= 4.5.3)
System.Security.AccessControl (>= 4.6)
System.Security.Principal.Windows (>= 4.6)
Mono.Posix.NETStandard (1.0)
MSBuild.StructuredLogger (2.0.110)
Microsoft.Build (>= 15.8.166)
Microsoft.Build.Framework (>= 15.8.166)
Expand All @@ -194,23 +197,23 @@ NUGET
NETStandard.Library (2.0.3)
Microsoft.NETCore.Platforms (>= 1.1)
Newtonsoft.Json (12.0.2)
NuGet.Common (5.3)
NuGet.Frameworks (>= 5.3)
NuGet.Common (5.3.1)
NuGet.Frameworks (>= 5.3.1)
System.Diagnostics.Process (>= 4.3)
System.Threading.Thread (>= 4.3)
NuGet.Configuration (5.3)
NuGet.Common (>= 5.3)
NuGet.Configuration (5.3.1)
NuGet.Common (>= 5.3.1)
System.Security.Cryptography.ProtectedData (>= 4.3)
NuGet.Frameworks (5.3)
NuGet.Packaging (5.3)
NuGet.Frameworks (5.3.1)
NuGet.Packaging (5.3.1)
Newtonsoft.Json (>= 9.0.1)
NuGet.Configuration (>= 5.3)
NuGet.Versioning (>= 5.3)
NuGet.Configuration (>= 5.3.1)
NuGet.Versioning (>= 5.3.1)
System.Dynamic.Runtime (>= 4.3)
NuGet.Protocol (5.3)
NuGet.Packaging (>= 5.3)
NuGet.Protocol (5.3.1)
NuGet.Packaging (>= 5.3.1)
System.Dynamic.Runtime (>= 4.3)
NuGet.Versioning (5.3)
NuGet.Versioning (5.3.1)
Octokit (0.36)
runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3)
runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3)
Expand Down

0 comments on commit ef15e20

Please sign in to comment.