-
Notifications
You must be signed in to change notification settings - Fork 174
/
Copy pathInstallAndBuildAllTemplates.ps1
42 lines (28 loc) · 2.39 KB
/
InstallAndBuildAllTemplates.ps1
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
$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 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 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 Auto --output $(Join-Path $tests 'InteractivityAuto_UseMain') --use-program-main
dotnet build $(Join-Path $tests 'InteractivityAuto_UseMain') /warnaserror