-
-
Notifications
You must be signed in to change notification settings - Fork 534
/
DotnetWatchRunAll.bat
90 lines (70 loc) · 1.82 KB
/
DotnetWatchRunAll.bat
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
83
84
85
86
87
88
89
90
SET BASE=%cd%
cd "%BASE%\Demos\Blazorise.Demo.Bootstrap"
start dotnetwatchrun
:bootstrap
SET URL="http://localhost:7713"
SET curlCommand=curl -LI %URL% -o /dev/null -w "%%{http_code}" -s
@for /f %%R in ('%curlCommand%') do ( Set status=%%R )
if %status% == 200 (
echo next
) else (
goto bootstrap
)
cd "%BASE%\Demos\Blazorise.Demo.Bootstrap5"
start dotnetwatchrun
:bootstrap5
SET URL="http://localhost:8713"
SET curlCommand=curl -LI %URL% -o /dev/null -w "%%{http_code}" -s
@for /f %%R in ('%curlCommand%') do ( Set status=%%R )
if %status% == 200 (
echo next
) else (
goto bootstrap5
)
cd "%BASE%\Demos\Blazorise.Demo.Bulma"
start dotnetwatchrun
:bulma
SET URL="http://localhost:12840"
SET curlCommand=curl -LI %URL% -o /dev/null -w "%%{http_code}" -s
@for /f %%R in ('%curlCommand%') do ( Set status=%%R )
if %status% == 200 (
echo next
) else (
goto bulma
)
cd "%BASE%\Demos\Blazorise.Demo.Material"
start dotnetwatchrun
:material
SET URL="http://localhost:14302"
SET curlCommand=curl -LI %URL% -o /dev/null -w "%%{http_code}" -s
@for /f %%R in ('%curlCommand%') do ( Set status=%%R )
if %status% == 200 (
echo next
) else (
goto material
)
cd "%BASE%\Demos\Blazorise.Demo.Tailwind"
start dotnetwatchrun
:tailwind
SET URL="http://localhost:5220"
SET curlCommand=curl -LI %URL% -o /dev/null -w "%%{http_code}" -s
@for /f %%R in ('%curlCommand%') do ( Set status=%%R )
if %status% == 200 (
echo next
) else (
goto tailwind
)
cd "%BASE%\Demos\Blazorise.Demo.AntDesign"
start dotnetwatchrun
:antdesign
SET URL="http://localhost:17715"
SET curlCommand=curl -LI %URL% -o /dev/null -w "%%{http_code}" -s
@for /f %%R in ('%curlCommand%') do ( Set status=%%R )
if %status% == 200 (
echo next
) else (
goto antdesign
)
cd "%BASE%\Demos\Blazorise.Demo.FluentUI2"
start dotnetwatchrun
exit