From 256344d6935da88d7eda26bbdb402fc9c2e7776a Mon Sep 17 00:00:00 2001 From: Sergey Tihon Date: Sun, 29 Mar 2015 15:56:07 +0300 Subject: [PATCH] Migration to paket.template https://github.com/fsprojects/Paket/issues/721#event-267084555 --- .paket/paket.bootstrapper.exe | Bin 13360 -> 14896 bytes build.fsx | 46 ++++++++++++------------- src/DynamicsCRMProvider/paket.template | 11 ++++-- 3 files changed, 31 insertions(+), 26 deletions(-) diff --git a/.paket/paket.bootstrapper.exe b/.paket/paket.bootstrapper.exe index a87c0883186768b34051e15c2ae735d3275ef1a0..1d9912fd64083074e2bf52fb7b8de5c70ce97f93 100644 GIT binary patch delta 4420 zcmZu!3s_WT8vgz>=bX6!BWFe#5WzuIMg$x|7rX|D7q&D76g68#Ip`$J!NZtn+JLog z`h;QgRBBq1shO8lEGyT_T+J*gwaeNXX=$dFZMt44d))Uw;H7rY^PKnlzW4k7@BjYm znb|gDTcG~2F58=;#!}mJk^~mU!iYM8u(gs~vzEP_CUm*5?2GQHMOj3}oX#fl%B_9_ zyTfh|Z3l$iiUEK9Z$e$5-1(Jxm zp`n9_88*qGlJ?%vXh94P00C0*pg5aNs6sEcFxjj{K!#h)9y?@;&_3Bx)ec&O)e{M! zDFCZWLqeN1nPR;n-6imjkjKgWDB0%e0I4G!G9u=Xdatnj9^^Ao#Tz>|(#S_B`o4)_1(@5hK%^pmqEv2*B6AS5-6iMsE32U3; z6q`-mo5^B?8-4U!g27hB@n~63VpQog2NhW{dqg6cD_T7FS)!cQo+A{CUW*XLs&xk0 zIc&Vs3Tnk|%4t(9idC^G)(M&$A>kH%HN08^^c1T#MQ$DL9sQ?nY7STA6tg00T@Z9a z5iLP25nBJZQJCI<))r4!*v>FLSwP=m#@HdSdbR+D$(-RzxJ$#Xuqol-F}JdoWLPnp z$B*kD1J&B4HRIIdC49gD7-eyHB5wId!Eqw|vSu{#+?%%z2c~TX9C1_(&WwXbGdYj{& zjy9+43VPCb#}2I*ga`XnZl+|)*^K$XG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;~HiN#gI&6bdlLEbP~g>Sc8U|4XMlhGT7U{QH`y;`j|6dI;t2%L{045iC)7Q?9} zo!=EUAt5eay5rX-=KUWGzOcZIZ;)sBj(&!p^}bo1vtDjIS)koGD|4GYWkbtE|*p)bUDR|e%R?hq5x!7j~j_N}BhAN9u1JYEFPicCG%&G(4vU8g4{QxjL>D6hqz zwJPoLu;uMppVYW2p1wF@wdpub)ST{f{-Yy=D1n_p;LyY0PKtduS^a`0gpCSoDVuRv-y*{ zFRGF%yA`@qR`c`gHXlguI&aPHzfY+jnY*tfVCuxeZIBY*i)Zt81$_u1P;?$+#pHjy^lL-;X^G`}BZ2@z>6|-hSk{)0!i$ zcw16@yxkUW``8xxp-CDx-o*NtGQK|UcZV%@Cy5tb%j@3U+UC9R|8#QcpnVV4mM;0n zi|JoYO+4kEylU0L?F$ZUy?o|kho(<2-|9AR?B?3wPM>F0ysaG+)_?!BjPgfm6YI`5 ze;f2mjn>toVf`fG%Rpx5U3b!VT~-WEZ57z{=)v+WH78p+*QV?Ye)at9ZZ0+?J6>mB z*!t?sf@!DYt2b84T&b-)qd6UO6a?{6U8PWDTZ~m5=)}}c7l_T`g z1j#ffH!J=6l>XIWUHg!^pRPPqIbvd-WABKgAtz1DQy|MJnHgC`bbsCW1Ns&@R< zvjf&GZgH;l%>|Q}P0xvy3J(X(9u~a%)%4Eu%aYVTyAx9%pUya#{nu~WRsLF+qA7TO LtlzEm_|x?}i?+gt diff --git a/build.fsx b/build.fsx index 4212144..ff7904b 100644 --- a/build.fsx +++ b/build.fsx @@ -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 diff --git a/src/DynamicsCRMProvider/paket.template b/src/DynamicsCRMProvider/paket.template index 4480cfe..fc3e401 100644 --- a/src/DynamicsCRMProvider/paket.template +++ b/src/DynamicsCRMProvider/paket.template @@ -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 @@ -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 \ No newline at end of file