Skip to content

Commit 211bffd

Browse files
committed
Add symbol source settings.
1 parent 320f712 commit 211bffd

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

MsgPack.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This package provides MessagePack serialization/deserialization APIs. This pacak
1818
<dependencies />
1919
</metadata>
2020
<files>
21-
<file src="bin\**\*.dll" target="lib" exclude="**\System.*;**\Microsoft.*;**\Mono.*" />
22-
<file src="bin\**\*.XML" target="lib" exclude="**\System.*;**\Microsoft.*;**\Mono.*" />
21+
<file src="bin\**\*.*" target="lib" exclude="**\System.*;**\Microsoft.*;**\Mono.*" />
22+
<file src="src\**\*.cs" target="src" exclude="" />
2323
</files>
2424
</package>

Pack.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@powershell .\pack.ps1
1+
@powershell .\pack.ps1 %1

Pack.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ if( ( $winFile.LastWriteTime - $xamarinFile.LastWriteTime ).Days -ne 0 )
4444
return
4545
}
4646

47-
.\.nuget\nuget.exe pack $nuspec
47+
.\.nuget\nuget.exe pack $nuspec -Symbols
4848

49-
Copy-Item .\bin\* .\MsgPack-CLI\ -Recurse -Exclude @("*.vshost.*", "*.pdb")
50-
Copy-Item .\tools\mpu\bin\* .\MsgPack-CLI\mpu\ -Recurse -Exclude @("*.vshost.*", "*.pdb")
51-
Remove-Item .\MsgPack-CLI\ -Include *.pdb -Recurse
49+
Copy-Item .\bin\* .\MsgPack-CLI\ -Recurse -Exclude @("*.vshost.*")
50+
Copy-Item .\tools\mpu\bin\* .\MsgPack-CLI\mpu\ -Recurse -Exclude @("*.vshost.*")
5251
[Reflection.Assembly]::LoadWithPartialName( "System.IO.Compression.FileSystem" ) | Out-Null
5352
# 'latest' should be rewritten with semver manually.
5453
if ( [IO.File]::Exists( ".\MsgPack.Cli.latest.zip" ) )

0 commit comments

Comments
 (0)