-
Notifications
You must be signed in to change notification settings - Fork 198
Expand file tree
/
Copy pathInstallAndBuildAllTemplates.ps1
More file actions
82 lines (55 loc) · 4.88 KB
/
InstallAndBuildAllTemplates.ps1
File metadata and controls
82 lines (55 loc) · 4.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
$tests = Join-Path $PSScriptRoot '/tests'
Remove-Item -LiteralPath $tests -Force -Recurse -ErrorAction SilentlyContinue
New-Item -Path $tests -ItemType Directory
dotnet new install $(Join-Path $PSScriptRoot '/src/mudblazor') --force
dotnet new install $(Join-Path $PSScriptRoot '/src/mudblazor-wasm') --force
dotnet new mudblazor --interactivity None --output $(Join-Path $tests 'InteractivityNone')
dotnet build $(Join-Path $tests '/InteractivityNone') /warnaserror
dotnet new mudblazor --interactivity Auto --output $(Join-Path $tests 'InteractivityAuto')
dotnet build $(Join-Path $tests '/InteractivityAuto') /warnaserror
dotnet new mudblazor --interactivity Server --output $(Join-Path $tests 'InteractivityServer')
dotnet build $(Join-Path $tests 'InteractivityServer') /warnaserror
dotnet new mudblazor --interactivity WebAssembly --output $(Join-Path $tests 'InteractivityWasm')
dotnet build $(Join-Path $tests 'InteractivityWasm') /warnaserror
dotnet new mudblazor --interactivity Auto --output $(Join-Path $tests 'InteractivityAuto_Global') --all-interactive
dotnet build $(Join-Path $tests 'InteractivityAuto_Global') /warnaserror
dotnet new mudblazor --interactivity Server --output $(Join-Path $tests 'InteractivityServer_Global') --all-interactive
dotnet build $(Join-Path $tests 'InteractivityServer_Global') /warnaserror
dotnet new mudblazor --interactivity WebAssembly --output $(Join-Path $tests 'InteractivityWasm_Global') --all-interactive
dotnet build $(Join-Path $tests 'InteractivityWasm_Global') /warnaserror
dotnet new mudblazor --interactivity Auto --output $(Join-Path $tests 'InteractivityAuto_Auth') --auth Individual
dotnet build $(Join-Path $tests 'InteractivityAuto_Auth') /warnaserror
dotnet new mudblazor --interactivity None --output $(Join-Path $tests 'InteractivityNone_Auth') --auth Individual
dotnet build $(Join-Path $tests 'InteractivityNone_Auth') /warnaserror
dotnet new mudblazor --interactivity Server --output $(Join-Path $tests 'InteractivityServer_Auth') --auth Individual
dotnet build $(Join-Path $tests 'InteractivityServer_Auth') /warnaserror
dotnet new mudblazor --interactivity WebAssembly --output $(Join-Path $tests 'InteractivityWasm_Auth') --auth Individual
dotnet build $(Join-Path $tests 'InteractivityWasm_Auth') /warnaserror
dotnet new mudblazor --interactivity Auto --output $(Join-Path $tests 'InteractivityAuto_Global_Auth') --all-interactive --auth Individual
dotnet build $(Join-Path $tests 'InteractivityAuto_Global_Auth') /warnaserror
dotnet new mudblazor --interactivity Server --output $(Join-Path $tests 'InteractivityServer_Global_Auth') --all-interactive --auth Individual
dotnet build $(Join-Path $tests 'InteractivityServer_Global_Auth') /warnaserror
dotnet new mudblazor --interactivity WebAssembly --output $(Join-Path $tests 'InteractivityWasm_Global_Auth') --all-interactive --auth Individual
dotnet build $(Join-Path $tests 'InteractivityWasm_Global_Auth') /warnaserror
dotnet new mudblazor --interactivity Server --output $(Join-Path $tests 'InteractivityServer_Auth_LocalDb') --auth Individual --use-local-db
dotnet build $(Join-Path $tests 'InteractivityServer_Auth_LocalDb') /warnaserror
dotnet new mudblazor --interactivity Auto --output $(Join-Path $tests 'InteractivityAuto_Auth_LocalDb') --auth Individual --use-local-db
dotnet build $(Join-Path $tests 'InteractivityAuto_Auth_LocalDb') /warnaserror
dotnet new mudblazor --interactivity Auto --output $(Join-Path $tests 'InteractivityAuto_UseMain') --use-program-main
dotnet build $(Join-Path $tests 'InteractivityAuto_UseMain') /warnaserror
dotnet new mudblazorwasm --output $(Join-Path $tests 'WasmStandalone')
dotnet build $(Join-Path $tests 'WasmStandalone') /warnaserror
dotnet new mudblazorwasm --output $(Join-Path $tests 'WasmStandalone_Auth_Individual') --auth Individual
dotnet build $(Join-Path $tests 'WasmStandalone_Auth_Individual') /warnaserror
dotnet new mudblazorwasm --output $(Join-Path $tests 'WasmStandalone_Auth_B2C') --auth IndividualB2C
dotnet build $(Join-Path $tests 'WasmStandalone_Auth_B2C') /warnaserror
dotnet new mudblazorwasm --output $(Join-Path $tests 'WasmStandalone_Auth_SingleOrg') --auth SingleOrg
dotnet build $(Join-Path $tests 'WasmStandalone_Auth_SingleOrg') /warnaserror
dotnet new mudblazorwasm --output $(Join-Path $tests 'WasmStandalone_Pwa') --pwa
dotnet build $(Join-Path $tests 'WasmStandalone_Pwa') /warnaserror
dotnet new mudblazorwasm --output $(Join-Path $tests 'WasmStandalone_UseMain') --use-program-main
dotnet build $(Join-Path $tests 'WasmStandalone_UseMain') /warnaserror
dotnet new mudblazorwasm --output $(Join-Path $tests 'WasmStandalone_Empty') --empty
dotnet build $(Join-Path $tests 'WasmStandalone_Empty') /warnaserror
dotnet new mudblazorwasm --output $(Join-Path $tests 'WasmStandalone_CallsWebApi') --auth IndividualB2C --called-api-url https://example.com/api --called-api-scopes api.read
dotnet build $(Join-Path $tests 'WasmStandalone_CallsWebApi') /warnaserror