Skip to content

Commit 58b2760

Browse files
authored
Merge pull request #3 from enricosada/dotnetmerge
use dotnet-mergenupkg
2 parents 0fd520b + a7c45b7 commit 58b2760

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

appveyor.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ pack(gi .\FSharp.Core.Nuget\FSharp.Core.nuspec)
3232
pack(gi .\FSharp.Compiler.Tools.Nuget\FSharp.Compiler.Tools.nuspec)
3333

3434
# Merge the latest known .NET Core FSharp.Core nuget package with the one we build here
35-
& packages\NupkgMerge.1.0.0.1\tools\NupkgMerge.exe -p FSharp.Core.Nuget\FSharp.Core.$version.nupkg -s packages\Microsoft.FSharp.Core.netcore.1.0.0-alpha-160629\Microsoft.FSharp.Core.netcore.1.0.0-alpha-160629.nupkg -o lib\release\FSharp.Core.$version.nupkg
35+
pushd dotnet-tools
36+
& dotnet restore
37+
& dotnet mergenupkg --source ..\FSharp.Core.Nuget\FSharp.Core.$version.nupkg --other ..\packages\Microsoft.FSharp.Core.netcore.1.0.0-alpha-160629\Microsoft.FSharp.Core.netcore.1.0.0-alpha-160629.nupkg --framework netstandard1.6
38+
popd
39+
& copy FSharp.Core.Nuget\*.nupkg lib\release
3640
& copy FSharp.Compiler.Tools.Nuget\*.nupkg lib\release
3741

dotnet-tools/project.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"tools": {
3+
"dotnet-mergenupkg": "1.0.*",
4+
},
5+
"frameworks": {
6+
"netstandard1.6": {}
7+
}
8+
}

packages.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@
1414
<package id="Microsoft.DiaSymReader" version="1.0.8" />
1515
<package id="FsSrGen" version="3.0.0" targetFramework="net46" />
1616
<package id="FSharp.SRGen.Build.Tasks" version="3.0.0" targetFramework="net46" />
17-
<package id="NupkgMerge" version="1.0.0.1" />
1817
<package id="Microsoft.FSharp.Core.netcore" version="1.0.0-alpha-160629" />
1918
</packages>

0 commit comments

Comments
 (0)