File tree Expand file tree Collapse file tree
src/Winton.Extensions.Configuration.Consul Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33set -e
44
5- # Restore packages
6- dotnet restore
7-
85# Build
9- dotnet build --configuration Release
6+ dotnet build src/Winton.Extensions.Configuration.Consul --configuration Release --framework netstandard2.0
7+ dotnet build test/Winton.Extensions.Configuration.Consul.Test --configuration Release --framework netcoreapp2.0
8+ dotnet build test/Website --configuration Release --framework netcoreapp2.0
109
1110# Unit Test
12- dotnet test test/Winton.Extensions.Configuration.Consul.Test/ --no-build --configuration Release
11+ dotnet test test/Winton.Extensions.Configuration.Consul.Test/ --no-build --no-restore -- configuration Release
1312
1413# Integration test
1514if hash docker 2> /dev/null; then
Original file line number Diff line number Diff line change 1717 <PackageVersion >$(NuGetVersion)</PackageVersion >
1818 <RepositoryType >git</RepositoryType >
1919 <RepositoryUrl >https://github.com/wintoncode/Winton.Extensions.Configuration.Consul</RepositoryUrl >
20- <TargetFrameworks >netstandard2.0</TargetFrameworks >
20+ <TargetFrameworks >netstandard2.0;net461 </TargetFrameworks >
2121 <TreatWarningsAsErrors >True</TreatWarningsAsErrors >
2222 <WriteVersionInfoToBuildLog >False</WriteVersionInfoToBuildLog >
2323 </PropertyGroup >
3737 <PackageReference Include =" StyleCop.Analyzers" Version =" 1.0.2" PrivateAssets =" All" />
3838 </ItemGroup >
3939
40+ <ItemGroup Condition =" '$(TargetFramework)' == 'net461' " >
41+ <PackageReference Include =" Newtonsoft.Json" Version =" 10.0.3" />
42+ <Reference Include =" System.Net.Http" />
43+ <Reference Include =" System.Net.Http.WebRequest" />
44+ </ItemGroup >
45+
4046</Project >
4147
You can’t perform that action at this time.
0 commit comments