strong name all the things
This commit is contained in:
@@ -23,4 +23,4 @@ DEPENDENCIES
|
|||||||
os
|
os
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.12.1
|
1.13.7
|
||||||
|
|||||||
12
Rakefile.rb
12
Rakefile.rb
@@ -9,13 +9,13 @@ require 'nokogiri'
|
|||||||
require 'openssl'
|
require 'openssl'
|
||||||
import 'nuget.rake'
|
import 'nuget.rake'
|
||||||
|
|
||||||
CLEAN.include(['src/**/obj', 'src/**/bin', 'tool', 'packages/**','src/**/*.nuspec', 'src/**/*.nupkg', 'tools', 'packages', '*.nupkg'])
|
CLEAN.include(['src/**/obj', 'Owin.Security.Providers.nuspec', 'Owin.Security.Providers-signed.nuspec' 'src/**/bin', 'tool', 'packages/**','src/**/*.nuspec', 'src/**/*.nupkg', 'tools', 'packages', '*.nupkg'])
|
||||||
Configuration = ENV['CONFIGURATION'] || 'Release'
|
Configuration = ENV['CONFIGURATION'] || 'Release'
|
||||||
PACKAGES = File.expand_path("packages")
|
PACKAGES = File.expand_path("packages")
|
||||||
TOOLS = File.expand_path("tools")
|
TOOLS = File.expand_path("tools")
|
||||||
NUGET = File.expand_path("#{TOOLS}/nuget")
|
NUGET = File.expand_path("#{TOOLS}/nuget")
|
||||||
NUGET_EXE = File.expand_path("#{TOOLS}/nuget/nuget.exe")
|
NUGET_EXE = File.expand_path("#{TOOLS}/nuget/nuget.exe")
|
||||||
@version = "2.14.0"
|
@version = "2.15.1"
|
||||||
PROJECTS = Dir.glob('src/*').select{|dir| File.directory? dir }
|
PROJECTS = Dir.glob('src/*').select{|dir| File.directory? dir }
|
||||||
|
|
||||||
desc 'Retrieve things'
|
desc 'Retrieve things'
|
||||||
@@ -27,15 +27,19 @@ task :build => [:retrieve, :compile]
|
|||||||
desc 'clean, retrieve, build, generate nuspecs'
|
desc 'clean, retrieve, build, generate nuspecs'
|
||||||
task :preflight => [:clean, :build, :nuspec_gen]
|
task :preflight => [:clean, :build, :nuspec_gen]
|
||||||
|
|
||||||
|
|
||||||
desc 'publish'
|
desc 'publish'
|
||||||
task :publish => [:preflight,:nuspec_gen, :nuspec_pack, :nuspec_publish]
|
task :publish => [:preflight,:nuspec_gen, :nuspec_pack, :nuspec_publish]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
build :compile do |t|
|
build :compile do |t|
|
||||||
t.prop 'Configuration', Configuration
|
t.prop 'Configuration', Configuration
|
||||||
t.sln = 'OwinOAuthProviders.sln'
|
t.sln = 'OwinOAuthProviders.sln'
|
||||||
|
t.prop 'SignAssembly', 'true'
|
||||||
|
t.prop 'AssemblyOriginatorKeyFile', File.expand_path("keypair.snk")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
desc "Generate nuspec files"
|
desc "Generate nuspec files"
|
||||||
task :nuspec_gen do
|
task :nuspec_gen do
|
||||||
template = ERB.new(File.read('nuspectemplate.nuspec.erb'))
|
template = ERB.new(File.read('nuspectemplate.nuspec.erb'))
|
||||||
@@ -50,6 +54,7 @@ task :nuspec_gen do
|
|||||||
File.write('Owin.Security.Providers.nuspec', ERB.new(File.read('global.nuspec.erb')).result())
|
File.write('Owin.Security.Providers.nuspec', ERB.new(File.read('global.nuspec.erb')).result())
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
desc 'pack nuspec files'
|
desc 'pack nuspec files'
|
||||||
task :nuspec_pack do
|
task :nuspec_pack do
|
||||||
PROJECTS.each{|dir|
|
PROJECTS.each{|dir|
|
||||||
@@ -60,6 +65,7 @@ task :nuspec_pack do
|
|||||||
sh "#{NUGET_EXE} pack Owin.Security.Providers.nuspec -Exclude \"**\""
|
sh "#{NUGET_EXE} pack Owin.Security.Providers.nuspec -Exclude \"**\""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
desc 'publish nugets'
|
desc 'publish nugets'
|
||||||
task :nuspec_publish do
|
task :nuspec_publish do
|
||||||
PROJECTS.each{|dir|
|
PROJECTS.each{|dir|
|
||||||
|
|||||||
@@ -89,6 +89,10 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SignAssembly>true</SignAssembly>
|
||||||
|
<AssemblyOriginatorKeyFile>..\..\keypair.snk</AssemblyOriginatorKeyFile>
|
||||||
|
</PropertyGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>Owin.Security.Providers.OpenIDBase</id>
|
<id>Owin.Security.Providers.OpenIDBase</id>
|
||||||
<version>2.1</version>
|
<version>2.1.1</version>
|
||||||
<authors>Jerrie Pelser, Tommy Parnell and contributors</authors>
|
<authors>Jerrie Pelser, Tommy Parnell and contributors</authors>
|
||||||
<owners>Tommy Parnell</owners>
|
<owners>Tommy Parnell</owners>
|
||||||
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
|
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
|
||||||
|
|||||||
29
global.nuspec.signed.erb
Normal file
29
global.nuspec.signed.erb
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<package >
|
||||||
|
<metadata>
|
||||||
|
<id>Owin.Security.Providers-signed</id>
|
||||||
|
<version><%= @version %></version>
|
||||||
|
<authors>Jerrie Pelser, Tommy Parnell and contributors</authors>
|
||||||
|
<owners>Tommy Parnell</owners>
|
||||||
|
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
|
||||||
|
<projectUrl>https://github.com/tparnell8/OwinOAuthProviders</projectUrl>
|
||||||
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
|
<description>
|
||||||
|
Adds additional OAuth providers for OWIN to use with ASP.NET
|
||||||
|
</description>
|
||||||
|
<summary>
|
||||||
|
Additional OAuth providers for Katana (OWIN).
|
||||||
|
There are many individual providers, this package is a meta package that has a dependency on all of them.
|
||||||
|
</summary>
|
||||||
|
<releaseNotes>
|
||||||
|
View the release notes on github
|
||||||
|
</releaseNotes>
|
||||||
|
<copyright>Copyright 2013 - 2016</copyright>
|
||||||
|
<tags>owin katana oauth LinkedIn Yahoo Google+ GitHub Reddit Instagram StackExchange SalesForce TripIt Buffer ArcGIS Dropbox Wordpress Battle.NET Yammer OpenID Steam Twitch</tags>
|
||||||
|
<dependencies>
|
||||||
|
<% for @item in @nugets %>
|
||||||
|
<dependency id="<%= @item %>" version="[<%= @version %>]" />
|
||||||
|
<% end %>
|
||||||
|
</dependencies>
|
||||||
|
</metadata>
|
||||||
|
</package>
|
||||||
BIN
keypair.snk
Normal file
BIN
keypair.snk
Normal file
Binary file not shown.
@@ -46,9 +46,8 @@
|
|||||||
<HintPath>..\..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
<HintPath>..\..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Owin.Security.Providers.OpenIDBase, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Owin.Security.Providers.OpenIDBase, Version=2.0.0.0, Culture=neutral, PublicKeyToken=1328b8c16b108c43, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Owin.Security.Providers.OpenIDBase.2.1\lib\net45\Owin.Security.Providers.OpenIDBase.dll</HintPath>
|
<HintPath>..\..\packages\Owin.Security.Providers.OpenIDBase.2.1.1\lib\net45\Owin.Security.Providers.OpenIDBase.dll</HintPath>
|
||||||
<Private>True</Private>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
|
|||||||
@@ -4,5 +4,5 @@
|
|||||||
<package id="Microsoft.Owin.Security" version="3.0.1" targetFramework="net45" />
|
<package id="Microsoft.Owin.Security" version="3.0.1" targetFramework="net45" />
|
||||||
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net45" />
|
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net45" />
|
||||||
<package id="Owin" version="1.0" targetFramework="net45" />
|
<package id="Owin" version="1.0" targetFramework="net45" />
|
||||||
<package id="Owin.Security.Providers.OpenIDBase" version="2.1" targetFramework="net45" />
|
<package id="Owin.Security.Providers.OpenIDBase" version="2.1.1" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
||||||
@@ -46,9 +46,8 @@
|
|||||||
<HintPath>..\..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
<HintPath>..\..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Owin.Security.Providers.OpenIDBase, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Owin.Security.Providers.OpenIDBase, Version=2.0.0.0, Culture=neutral, PublicKeyToken=1328b8c16b108c43, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Owin.Security.Providers.OpenIDBase.2.1\lib\net45\Owin.Security.Providers.OpenIDBase.dll</HintPath>
|
<HintPath>..\..\packages\Owin.Security.Providers.OpenIDBase.2.1.1\lib\net45\Owin.Security.Providers.OpenIDBase.dll</HintPath>
|
||||||
<Private>True</Private>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
|
|||||||
@@ -4,5 +4,5 @@
|
|||||||
<package id="Microsoft.Owin.Security" version="3.0.1" targetFramework="net45" />
|
<package id="Microsoft.Owin.Security" version="3.0.1" targetFramework="net45" />
|
||||||
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net45" />
|
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net45" />
|
||||||
<package id="Owin" version="1.0" targetFramework="net45" />
|
<package id="Owin" version="1.0" targetFramework="net45" />
|
||||||
<package id="Owin.Security.Providers.OpenIDBase" version="2.1" targetFramework="net45" />
|
<package id="Owin.Security.Providers.OpenIDBase" version="2.1.1" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
||||||
@@ -46,9 +46,8 @@
|
|||||||
<HintPath>..\..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
<HintPath>..\..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Owin.Security.Providers.OpenIDBase, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Owin.Security.Providers.OpenIDBase, Version=2.0.0.0, Culture=neutral, PublicKeyToken=1328b8c16b108c43, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\packages\Owin.Security.Providers.OpenIDBase.2.1\lib\net45\Owin.Security.Providers.OpenIDBase.dll</HintPath>
|
<HintPath>..\..\packages\Owin.Security.Providers.OpenIDBase.2.1.1\lib\net45\Owin.Security.Providers.OpenIDBase.dll</HintPath>
|
||||||
<Private>True</Private>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
|
|||||||
@@ -4,5 +4,5 @@
|
|||||||
<package id="Microsoft.Owin.Security" version="3.0.1" targetFramework="net45" />
|
<package id="Microsoft.Owin.Security" version="3.0.1" targetFramework="net45" />
|
||||||
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net45" />
|
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net45" />
|
||||||
<package id="Owin" version="1.0" targetFramework="net45" />
|
<package id="Owin" version="1.0" targetFramework="net45" />
|
||||||
<package id="Owin.Security.Providers.OpenIDBase" version="2.1" targetFramework="net45" />
|
<package id="Owin.Security.Providers.OpenIDBase" version="2.1.1" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
||||||
Reference in New Issue
Block a user