Skip to content

Commit b67f3a0

Browse files
committed
Updated build.sh (#269)
1 parent 9471637 commit b67f3a0

File tree

9 files changed

+366
-7
lines changed

9 files changed

+366
-7
lines changed

build.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
#!/usr/bin/env bash
22
dotnet restore
3-
dotnet build --configuration Release
4-
dotnet test "samples/MusicStore/MusicStore.Test/project.json" --configuration Release -f netcoreapp1.1
5-
dotnet test "samples/ApplicationParts/ApplicationParts.Test/project.json" --configuration Release -f netcoreapp1.1
6-
dotnet test "samples/NoStartup/NoStartup.Test/project.json" --configuration Release -f netcoreapp1.1
7-
dotnet test "samples/Lite/Lite.Test/project.json" --configuration Release -f netcoreapp1.1
3+
dotnet test "samples/MusicStore/MusicStore.Test/project.json" -c Release -f netcoreapp1.1
4+
dotnet test "samples/ApplicationParts/ApplicationParts.Test/project.json" -c Release -f netcoreapp1.1
5+
dotnet test "samples/NoStartup/NoStartup.Test/project.json" -c Release -f netcoreapp1.1
6+
dotnet test "samples/Lite/Lite.Test/project.json" -c Release -f netcoreapp1.1
7+
8+
dotnet build ./samples/MusicStore/MusicStore.Test -c Release -f net451
9+
dotnet build ./samples/ApplicationParts/ApplicationParts.Test -c Release -f net451
10+
dotnet build ./samples/NoStartup/NoStartup.Test -c Release -f net451
11+
dotnet build ./samples/Lite/Lite.Test -c Release -f net451
812

913
mono \
1014
./samples/MusicStore/MusicStore.Test/bin/Release/net451/*/dotnet-test-xunit.exe \

samples/MusicStore/MusicStore.Test/project.lock.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4544,6 +4544,7 @@
45444544
"framework": ".NETStandard,Version=v1.6",
45454545
"dependencies": {
45464546
"Microsoft.EntityFrameworkCore.InMemory": "1.1.0",
4547+
"Microsoft.EntityFrameworkCore.Relational": "1.1.0",
45474548
"MyTested.AspNetCore.Mvc.Abstractions": "1.1.1"
45484549
},
45494550
"compile": {
@@ -7307,6 +7308,7 @@
73077308
"framework": ".NETFramework,Version=v4.5.1",
73087309
"dependencies": {
73097310
"Microsoft.EntityFrameworkCore.InMemory": "1.1.0",
7311+
"Microsoft.EntityFrameworkCore.Relational": "1.1.0",
73107312
"MyTested.AspNetCore.Mvc.Abstractions": "1.1.1"
73117313
},
73127314
"compile": {

src/MyTested.AspNetCore.Mvc.EntityFrameworkCore/Internal/ScopedInMemoryOptionsExtension.cs renamed to src/MyTested.AspNetCore.Mvc.EntityFrameworkCore/Internal/EntityFrameworkCore/ScopedInMemoryOptionsExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace MyTested.AspNetCore.Mvc.Internal
1+
namespace MyTested.AspNetCore.Mvc.Internal.EntityFrameworkCore
22
{
33
using Microsoft.EntityFrameworkCore.Infrastructure.Internal;
44
using Microsoft.EntityFrameworkCore.Storage.Internal;

src/MyTested.AspNetCore.Mvc.EntityFrameworkCore/ServiceCollectionEntityFrameworkCoreExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System;
44
using System.Linq;
55
using System.Reflection;
6-
using Internal;
6+
using Internal.EntityFrameworkCore;
77
using Microsoft.EntityFrameworkCore;
88
using Microsoft.EntityFrameworkCore.Infrastructure;
99
using Microsoft.Extensions.DependencyInjection;

src/MyTested.AspNetCore.Mvc.EntityFrameworkCore/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
"dependencies": {
3131
"Microsoft.EntityFrameworkCore.InMemory": "1.1.0",
32+
"Microsoft.EntityFrameworkCore.Relational": "1.1.0",
3233
"MyTested.AspNetCore.Mvc.Abstractions": "1.1.1"
3334
},
3435

src/MyTested.AspNetCore.Mvc.EntityFrameworkCore/project.lock.json

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,24 @@
291291
"lib/net451/Microsoft.EntityFrameworkCore.InMemory.dll": {}
292292
}
293293
},
294+
"Microsoft.EntityFrameworkCore.Relational/1.1.0": {
295+
"type": "package",
296+
"dependencies": {
297+
"Microsoft.EntityFrameworkCore": "1.1.0",
298+
"NETStandard.Library": "1.6.1",
299+
"System.Diagnostics.DiagnosticSource": "4.3.0"
300+
},
301+
"frameworkAssemblies": [
302+
"System.Data",
303+
"System.Transactions"
304+
],
305+
"compile": {
306+
"lib/net451/Microsoft.EntityFrameworkCore.Relational.dll": {}
307+
},
308+
"runtime": {
309+
"lib/net451/Microsoft.EntityFrameworkCore.Relational.dll": {}
310+
}
311+
},
294312
"Microsoft.Extensions.Caching.Abstractions/1.1.0": {
295313
"type": "package",
296314
"dependencies": {
@@ -1501,6 +1519,22 @@
15011519
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.InMemory.dll": {}
15021520
}
15031521
},
1522+
"Microsoft.EntityFrameworkCore.Relational/1.1.0": {
1523+
"type": "package",
1524+
"dependencies": {
1525+
"Microsoft.CSharp": "4.3.0",
1526+
"Microsoft.EntityFrameworkCore": "1.1.0",
1527+
"NETStandard.Library": "1.6.1",
1528+
"System.Data.Common": "4.3.0",
1529+
"System.Diagnostics.DiagnosticSource": "4.3.0"
1530+
},
1531+
"compile": {
1532+
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.dll": {}
1533+
},
1534+
"runtime": {
1535+
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.dll": {}
1536+
}
1537+
},
15041538
"Microsoft.Extensions.Caching.Abstractions/1.1.0": {
15051539
"type": "package",
15061540
"dependencies": {
@@ -2295,6 +2329,25 @@
22952329
"ref/netstandard1.3/System.Console.dll": {}
22962330
}
22972331
},
2332+
"System.Data.Common/4.3.0": {
2333+
"type": "package",
2334+
"dependencies": {
2335+
"System.Collections": "4.3.0",
2336+
"System.Globalization": "4.3.0",
2337+
"System.IO": "4.3.0",
2338+
"System.Resources.ResourceManager": "4.3.0",
2339+
"System.Runtime": "4.3.0",
2340+
"System.Runtime.Extensions": "4.3.0",
2341+
"System.Text.RegularExpressions": "4.3.0",
2342+
"System.Threading.Tasks": "4.3.0"
2343+
},
2344+
"compile": {
2345+
"ref/netstandard1.2/System.Data.Common.dll": {}
2346+
},
2347+
"runtime": {
2348+
"lib/netstandard1.2/System.Data.Common.dll": {}
2349+
}
2350+
},
22982351
"System.Diagnostics.Contracts/4.3.0": {
22992352
"type": "package",
23002353
"dependencies": {
@@ -3796,6 +3849,19 @@
37963849
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.InMemory.xml"
37973850
]
37983851
},
3852+
"Microsoft.EntityFrameworkCore.Relational/1.1.0": {
3853+
"sha512": "5LkSh1GHK/ZbI/2N6YxyofFKaAVe5/RBN38G6UQzOQVgfJxzucpJVyZt1mGHBkJ4yTlr4WQS9Wr3Ppa5X0opbw==",
3854+
"type": "package",
3855+
"path": "Microsoft.EntityFrameworkCore.Relational/1.1.0",
3856+
"files": [
3857+
"Microsoft.EntityFrameworkCore.Relational.1.1.0.nupkg.sha512",
3858+
"Microsoft.EntityFrameworkCore.Relational.nuspec",
3859+
"lib/net451/Microsoft.EntityFrameworkCore.Relational.dll",
3860+
"lib/net451/Microsoft.EntityFrameworkCore.Relational.xml",
3861+
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.dll",
3862+
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.xml"
3863+
]
3864+
},
37993865
"Microsoft.Extensions.Caching.Abstractions/1.1.0": {
38003866
"sha512": "uMbUDz/lNoO9LGc+DSjKMLWJk+y4qX6syDRcmQC0w6LSQzizkRqmo5Y8jO0ePtZRjF2lSGgO5URt4YgB6STDBQ==",
38013867
"type": "package",
@@ -4897,6 +4963,55 @@
48974963
"ref/xamarinwatchos10/_._"
48984964
]
48994965
},
4966+
"System.Data.Common/4.3.0": {
4967+
"sha512": "lm6E3T5u7BOuEH0u18JpbJHxBfOJPuCyl4Kg1RH10ktYLp5uEEE1xKrHW56/We4SnZpGAuCc9N0MJpSDhTHZGQ==",
4968+
"type": "package",
4969+
"path": "System.Data.Common/4.3.0",
4970+
"files": [
4971+
"System.Data.Common.4.3.0.nupkg.sha512",
4972+
"System.Data.Common.nuspec",
4973+
"ThirdPartyNotices.txt",
4974+
"dotnet_library_license.txt",
4975+
"lib/MonoAndroid10/_._",
4976+
"lib/MonoTouch10/_._",
4977+
"lib/net451/System.Data.Common.dll",
4978+
"lib/netstandard1.2/System.Data.Common.dll",
4979+
"lib/portable-net451+win8+wp8+wpa81/System.Data.Common.dll",
4980+
"lib/xamarinios10/_._",
4981+
"lib/xamarinmac20/_._",
4982+
"lib/xamarintvos10/_._",
4983+
"lib/xamarinwatchos10/_._",
4984+
"ref/MonoAndroid10/_._",
4985+
"ref/MonoTouch10/_._",
4986+
"ref/net451/System.Data.Common.dll",
4987+
"ref/netstandard1.2/System.Data.Common.dll",
4988+
"ref/netstandard1.2/System.Data.Common.xml",
4989+
"ref/netstandard1.2/de/System.Data.Common.xml",
4990+
"ref/netstandard1.2/es/System.Data.Common.xml",
4991+
"ref/netstandard1.2/fr/System.Data.Common.xml",
4992+
"ref/netstandard1.2/it/System.Data.Common.xml",
4993+
"ref/netstandard1.2/ja/System.Data.Common.xml",
4994+
"ref/netstandard1.2/ko/System.Data.Common.xml",
4995+
"ref/netstandard1.2/ru/System.Data.Common.xml",
4996+
"ref/netstandard1.2/zh-hans/System.Data.Common.xml",
4997+
"ref/netstandard1.2/zh-hant/System.Data.Common.xml",
4998+
"ref/portable-net451+win8+wp8+wpa81/System.Data.Common.dll",
4999+
"ref/portable-net451+win8+wp8+wpa81/System.Data.Common.xml",
5000+
"ref/portable-net451+win8+wp8+wpa81/de/System.Data.Common.xml",
5001+
"ref/portable-net451+win8+wp8+wpa81/es/System.Data.Common.xml",
5002+
"ref/portable-net451+win8+wp8+wpa81/fr/System.Data.Common.xml",
5003+
"ref/portable-net451+win8+wp8+wpa81/it/System.Data.Common.xml",
5004+
"ref/portable-net451+win8+wp8+wpa81/ja/System.Data.Common.xml",
5005+
"ref/portable-net451+win8+wp8+wpa81/ko/System.Data.Common.xml",
5006+
"ref/portable-net451+win8+wp8+wpa81/ru/System.Data.Common.xml",
5007+
"ref/portable-net451+win8+wp8+wpa81/zh-hans/System.Data.Common.xml",
5008+
"ref/portable-net451+win8+wp8+wpa81/zh-hant/System.Data.Common.xml",
5009+
"ref/xamarinios10/_._",
5010+
"ref/xamarinmac20/_._",
5011+
"ref/xamarintvos10/_._",
5012+
"ref/xamarinwatchos10/_._"
5013+
]
5014+
},
49005015
"System.Diagnostics.Contracts/4.3.0": {
49015016
"sha512": "eelRRbnm+OloiQvp9CXS0ixjNQldjjkHO4iIkR5XH2VIP8sUB/SIpa1TdUW6/+HDcQ+MlhP3pNa1u5SbzYuWGA==",
49025017
"type": "package",
@@ -8212,6 +8327,7 @@
82128327
"projectFileDependencyGroups": {
82138328
"": [
82148329
"Microsoft.EntityFrameworkCore.InMemory >= 1.1.0",
8330+
"Microsoft.EntityFrameworkCore.Relational >= 1.1.0",
82158331
"MyTested.AspNetCore.Mvc.Abstractions >= 1.1.1"
82168332
],
82178333
".NETFramework,Version=v4.5.1": [],

src/MyTested.AspNetCore.Mvc.Universe/project.lock.json

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,24 @@
681681
"lib/net451/Microsoft.EntityFrameworkCore.InMemory.dll": {}
682682
}
683683
},
684+
"Microsoft.EntityFrameworkCore.Relational/1.1.0": {
685+
"type": "package",
686+
"dependencies": {
687+
"Microsoft.EntityFrameworkCore": "1.1.0",
688+
"NETStandard.Library": "1.6.1",
689+
"System.Diagnostics.DiagnosticSource": "4.3.0"
690+
},
691+
"frameworkAssemblies": [
692+
"System.Data",
693+
"System.Transactions"
694+
],
695+
"compile": {
696+
"lib/net451/Microsoft.EntityFrameworkCore.Relational.dll": {}
697+
},
698+
"runtime": {
699+
"lib/net451/Microsoft.EntityFrameworkCore.Relational.dll": {}
700+
}
701+
},
684702
"Microsoft.Extensions.Caching.Abstractions/1.1.0": {
685703
"type": "package",
686704
"dependencies": {
@@ -1719,6 +1737,7 @@
17191737
"framework": ".NETFramework,Version=v4.5.1",
17201738
"dependencies": {
17211739
"Microsoft.EntityFrameworkCore.InMemory": "1.1.0",
1740+
"Microsoft.EntityFrameworkCore.Relational": "1.1.0",
17221741
"MyTested.AspNetCore.Mvc.Abstractions": "1.1.1"
17231742
},
17241743
"compile": {
@@ -2658,6 +2677,22 @@
26582677
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.InMemory.dll": {}
26592678
}
26602679
},
2680+
"Microsoft.EntityFrameworkCore.Relational/1.1.0": {
2681+
"type": "package",
2682+
"dependencies": {
2683+
"Microsoft.CSharp": "4.3.0",
2684+
"Microsoft.EntityFrameworkCore": "1.1.0",
2685+
"NETStandard.Library": "1.6.1",
2686+
"System.Data.Common": "4.3.0",
2687+
"System.Diagnostics.DiagnosticSource": "4.3.0"
2688+
},
2689+
"compile": {
2690+
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.dll": {}
2691+
},
2692+
"runtime": {
2693+
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.dll": {}
2694+
}
2695+
},
26612696
"Microsoft.Extensions.Caching.Abstractions/1.1.0": {
26622697
"type": "package",
26632698
"dependencies": {
@@ -3548,6 +3583,25 @@
35483583
"ref/netstandard1.3/System.Console.dll": {}
35493584
}
35503585
},
3586+
"System.Data.Common/4.3.0": {
3587+
"type": "package",
3588+
"dependencies": {
3589+
"System.Collections": "4.3.0",
3590+
"System.Globalization": "4.3.0",
3591+
"System.IO": "4.3.0",
3592+
"System.Resources.ResourceManager": "4.3.0",
3593+
"System.Runtime": "4.3.0",
3594+
"System.Runtime.Extensions": "4.3.0",
3595+
"System.Text.RegularExpressions": "4.3.0",
3596+
"System.Threading.Tasks": "4.3.0"
3597+
},
3598+
"compile": {
3599+
"ref/netstandard1.2/System.Data.Common.dll": {}
3600+
},
3601+
"runtime": {
3602+
"lib/netstandard1.2/System.Data.Common.dll": {}
3603+
}
3604+
},
35513605
"System.Diagnostics.Contracts/4.3.0": {
35523606
"type": "package",
35533607
"dependencies": {
@@ -5031,6 +5085,7 @@
50315085
"framework": ".NETStandard,Version=v1.6",
50325086
"dependencies": {
50335087
"Microsoft.EntityFrameworkCore.InMemory": "1.1.0",
5088+
"Microsoft.EntityFrameworkCore.Relational": "1.1.0",
50345089
"MyTested.AspNetCore.Mvc.Abstractions": "1.1.1"
50355090
},
50365091
"compile": {
@@ -5851,6 +5906,19 @@
58515906
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.InMemory.xml"
58525907
]
58535908
},
5909+
"Microsoft.EntityFrameworkCore.Relational/1.1.0": {
5910+
"sha512": "5LkSh1GHK/ZbI/2N6YxyofFKaAVe5/RBN38G6UQzOQVgfJxzucpJVyZt1mGHBkJ4yTlr4WQS9Wr3Ppa5X0opbw==",
5911+
"type": "package",
5912+
"path": "Microsoft.EntityFrameworkCore.Relational/1.1.0",
5913+
"files": [
5914+
"Microsoft.EntityFrameworkCore.Relational.1.1.0.nupkg.sha512",
5915+
"Microsoft.EntityFrameworkCore.Relational.nuspec",
5916+
"lib/net451/Microsoft.EntityFrameworkCore.Relational.dll",
5917+
"lib/net451/Microsoft.EntityFrameworkCore.Relational.xml",
5918+
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.dll",
5919+
"lib/netstandard1.3/Microsoft.EntityFrameworkCore.Relational.xml"
5920+
]
5921+
},
58545922
"Microsoft.Extensions.Caching.Abstractions/1.1.0": {
58555923
"sha512": "uMbUDz/lNoO9LGc+DSjKMLWJk+y4qX6syDRcmQC0w6LSQzizkRqmo5Y8jO0ePtZRjF2lSGgO5URt4YgB6STDBQ==",
58565924
"type": "package",
@@ -7037,6 +7105,55 @@
70377105
"ref/xamarinwatchos10/_._"
70387106
]
70397107
},
7108+
"System.Data.Common/4.3.0": {
7109+
"sha512": "lm6E3T5u7BOuEH0u18JpbJHxBfOJPuCyl4Kg1RH10ktYLp5uEEE1xKrHW56/We4SnZpGAuCc9N0MJpSDhTHZGQ==",
7110+
"type": "package",
7111+
"path": "System.Data.Common/4.3.0",
7112+
"files": [
7113+
"System.Data.Common.4.3.0.nupkg.sha512",
7114+
"System.Data.Common.nuspec",
7115+
"ThirdPartyNotices.txt",
7116+
"dotnet_library_license.txt",
7117+
"lib/MonoAndroid10/_._",
7118+
"lib/MonoTouch10/_._",
7119+
"lib/net451/System.Data.Common.dll",
7120+
"lib/netstandard1.2/System.Data.Common.dll",
7121+
"lib/portable-net451+win8+wp8+wpa81/System.Data.Common.dll",
7122+
"lib/xamarinios10/_._",
7123+
"lib/xamarinmac20/_._",
7124+
"lib/xamarintvos10/_._",
7125+
"lib/xamarinwatchos10/_._",
7126+
"ref/MonoAndroid10/_._",
7127+
"ref/MonoTouch10/_._",
7128+
"ref/net451/System.Data.Common.dll",
7129+
"ref/netstandard1.2/System.Data.Common.dll",
7130+
"ref/netstandard1.2/System.Data.Common.xml",
7131+
"ref/netstandard1.2/de/System.Data.Common.xml",
7132+
"ref/netstandard1.2/es/System.Data.Common.xml",
7133+
"ref/netstandard1.2/fr/System.Data.Common.xml",
7134+
"ref/netstandard1.2/it/System.Data.Common.xml",
7135+
"ref/netstandard1.2/ja/System.Data.Common.xml",
7136+
"ref/netstandard1.2/ko/System.Data.Common.xml",
7137+
"ref/netstandard1.2/ru/System.Data.Common.xml",
7138+
"ref/netstandard1.2/zh-hans/System.Data.Common.xml",
7139+
"ref/netstandard1.2/zh-hant/System.Data.Common.xml",
7140+
"ref/portable-net451+win8+wp8+wpa81/System.Data.Common.dll",
7141+
"ref/portable-net451+win8+wp8+wpa81/System.Data.Common.xml",
7142+
"ref/portable-net451+win8+wp8+wpa81/de/System.Data.Common.xml",
7143+
"ref/portable-net451+win8+wp8+wpa81/es/System.Data.Common.xml",
7144+
"ref/portable-net451+win8+wp8+wpa81/fr/System.Data.Common.xml",
7145+
"ref/portable-net451+win8+wp8+wpa81/it/System.Data.Common.xml",
7146+
"ref/portable-net451+win8+wp8+wpa81/ja/System.Data.Common.xml",
7147+
"ref/portable-net451+win8+wp8+wpa81/ko/System.Data.Common.xml",
7148+
"ref/portable-net451+win8+wp8+wpa81/ru/System.Data.Common.xml",
7149+
"ref/portable-net451+win8+wp8+wpa81/zh-hans/System.Data.Common.xml",
7150+
"ref/portable-net451+win8+wp8+wpa81/zh-hant/System.Data.Common.xml",
7151+
"ref/xamarinios10/_._",
7152+
"ref/xamarinmac20/_._",
7153+
"ref/xamarintvos10/_._",
7154+
"ref/xamarinwatchos10/_._"
7155+
]
7156+
},
70407157
"System.Diagnostics.Contracts/4.3.0": {
70417158
"sha512": "eelRRbnm+OloiQvp9CXS0ixjNQldjjkHO4iIkR5XH2VIP8sUB/SIpa1TdUW6/+HDcQ+MlhP3pNa1u5SbzYuWGA==",
70427159
"type": "package",

test/MyTested.AspNetCore.Mvc.EntityFrameworkCore.Test/project.lock.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3969,6 +3969,7 @@
39693969
"framework": ".NETStandard,Version=v1.6",
39703970
"dependencies": {
39713971
"Microsoft.EntityFrameworkCore.InMemory": "1.1.0",
3972+
"Microsoft.EntityFrameworkCore.Relational": "1.1.0",
39723973
"MyTested.AspNetCore.Mvc.Abstractions": "1.1.1"
39733974
},
39743975
"compile": {
@@ -5975,6 +5976,7 @@
59755976
"framework": ".NETFramework,Version=v4.5.1",
59765977
"dependencies": {
59775978
"Microsoft.EntityFrameworkCore.InMemory": "1.1.0",
5979+
"Microsoft.EntityFrameworkCore.Relational": "1.1.0",
59785980
"MyTested.AspNetCore.Mvc.Abstractions": "1.1.1"
59795981
},
59805982
"compile": {

0 commit comments

Comments
 (0)