summary refs log tree commit diff
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2017-03-08 10:28:19 -0500
committerOren Novotny <oren@novotny.org>2017-03-08 10:28:19 -0500
commit6dfaf1133168848567c4ef3a76b7bd5213777765 (patch)
treebcb5868b9bf38a51f0bc2c3e54e98dc69bc5cd12
parentuse sourcelink (diff)
downloadBouncyCastle.NET-ed25519-6dfaf1133168848567c4ef3a76b7bd5213777765.tar.xz
enable sourcelink
-rw-r--r--appveyor.yml4
-rw-r--r--crypto/src/crypto.csproj2
2 files changed, 6 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index dacb38243..ae2b84343 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,6 +1,9 @@
 configuration: Release
 image: Visual Studio 2017 RC
 
+init:
+  - git config --global core.autocrlf input
+
 environment:
   SignClientSecret:
     secure: S26+NphAhj/vo5ZdHd/N/4toty3ztdNGmuNdvAB57W1oIVQEHVKqAVuhTD8B9ATy
@@ -14,6 +17,7 @@ assembly_info:
 build_script:
   - cmd: msbuild /t:restore BouncyCastle.sln
   - cmd: msbuild /t:build BouncyCastle.sln 
+  - cmd: dotnet
   - cmd: msbuild /t:pack crypto\src\crypto.csproj /p:PackageId="Portable.BouncyCastle" /p:PackageOutputPath="%APPVEYOR_BUILD_FOLDER%"
   
 after_build:  
diff --git a/crypto/src/crypto.csproj b/crypto/src/crypto.csproj
index fb4541070..bd61ea74b 100644
--- a/crypto/src/crypto.csproj
+++ b/crypto/src/crypto.csproj
@@ -32,8 +32,10 @@
     <None Include="..\..\BouncyCastle.snk" />
     <PackageReference Include="GitVersionTask" Version="4.0.0-beta0011" PrivateAssets="All" />
     <PackageReference Include="MSBuild.Sdk.Extras" Version="1.0.0-rc4-31" PrivateAssets="All" />
+    <DotNetCliToolReference Include="dotnet-sourcelink" Version="2.0.0" />
     <DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.0.0" />
     <PackageReference Include="SourceLink.Create.GitHub" Version="2.0.0" PrivateAssets="all" />
+    <PackageReference Include="SourceLink.Test" Version="2.0.0" PrivateAssets="all" />
   </ItemGroup>
   <Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
 </Project>
\ No newline at end of file