Skip to content

Commit

Permalink
Migration to paket.template
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-tihon committed Mar 29, 2015
1 parent e8330aa commit 256344d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 26 deletions.
Binary file modified .paket/paket.bootstrapper.exe
Binary file not shown.
46 changes: 23 additions & 23 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,34 +184,34 @@ Target "SourceLink" (fun _ ->
// --------------------------------------------------------------------------------------
// Build a NuGet package

//Target "NuGet" (fun _ ->
// Paket.Pack(fun p ->
// { p with
// OutputPath = "bin"
// Version = release.NugetVersion
// ReleaseNotes = toLines release.Notes})
//)

Target "NuGet" (fun _ ->
// Format the description to fit on a single line (remove \r\n and double-spaces)
let projectDescription = description.Replace("\r", "").Replace("\n", "").Replace(" ", " ")
NuGet (fun p ->
Paket.Pack(fun p ->
{ p with
Authors = authors
Project = project
Summary = summary
Description = projectDescription
Version = release.NugetVersion
ReleaseNotes = String.concat " " release.Notes
Tags = tags
OutputPath = "bin"
WorkingDir = "bin"
ToolPath = @"packages\NuGet.CommandLine\tools\NuGet.exe"
AccessKey = getBuildParamOrDefault "nugetkey" ""
Publish = hasBuildParam "nugetkey" })
"src/DynamicsCRMProvider.nuspec"
Version = release.NugetVersion
ReleaseNotes = toLines release.Notes})
)

//Target "NuGet" (fun _ ->
// // Format the description to fit on a single line (remove \r\n and double-spaces)
// let projectDescription = description.Replace("\r", "").Replace("\n", "").Replace(" ", " ")
// NuGet (fun p ->
// { p with
// Authors = authors
// Project = project
// Summary = summary
// Description = projectDescription
// Version = release.NugetVersion
// ReleaseNotes = String.concat " " release.Notes
// Tags = tags
// OutputPath = "bin"
// WorkingDir = "bin"
// ToolPath = @"packages\NuGet.CommandLine\tools\NuGet.exe"
// AccessKey = getBuildParamOrDefault "nugetkey" ""
// Publish = hasBuildParam "nugetkey" })
// "src/DynamicsCRMProvider.nuspec"
//)

Target "PublishNuget" (fun _ ->
Paket.Push(fun p ->
{ p with
Expand Down
11 changes: 8 additions & 3 deletions src/DynamicsCRMProvider/paket.template
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
type file
id DynamicsCRMProvider
owners
Ross McKinlay, Steffen Forkmann
Ross McKinlay, Steffen Forkmann, Sergey Tihon
authors
Ross McKinlay, Steffen Forkmann
Ross McKinlay, Steffen Forkmann, Sergey Tihon
projectUrl
http://github.com/fsprojects/DynamicsCRMProvider
iconUrl
Expand All @@ -21,7 +21,12 @@ summary
description
Type providers for Dynamics CRM access.
dependencies
Microsoft.CrmSdk.CoreAssemblies >= 5.0.18 < 6.0
Microsoft.CrmSdk.CoreAssemblies = 5.0.18
files
../../bin/DynamicsCRMProvider/FSharp.Data.DynamicsCRMProvider*.* ==> lib/net40
../../bin/DynamicsCRMProvider/Microsoft.Crm.Services.Utility.* ==> lib/net40
../../bin/DynamicsCRMProvider/DynamicsCRMProvider.fsx ==> .
references
Microsoft.Crm.Services.Utility.dll
FSharp.Data.DynamicsCRMProvider.Runtime.dll
FSharp.Data.DynamicsCRMProvider.dll

0 comments on commit 256344d

Please sign in to comment.