forked from kekyo/Epoxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-templates.bat
110 lines (71 loc) · 1.98 KB
/
test-templates.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
@echo off
rmdir /s/q test-templates
mkdir test-templates
cd test-templates
echo "Install Epoxy.Templates..."
rem dotnet new -i Epoxy.Templates
dotnet new -i Epoxy.Templates --nuget-source https://www.myget.org/F/epoxy/api/v2
rem ===========================================================
echo "Testing epoxy-wpf"
mkdir epoxy_wpf
cd epoxy_wpf
dotnet new epoxy-wpf
copy /y ..\..\test-templates-nuget.config nuget.config
dotnet restore
dotnet build
cd ..
rem ===========================================================
echo "Testing epoxy-wpf F#"
mkdir epoxy_wpf_fsharp
cd epoxy_wpf_fsharp
dotnet new epoxy-wpf -lang=F#
copy /y ..\..\test-templates-nuget.config nuget.config
dotnet restore
dotnet build
cd ..
rem ===========================================================
echo "Testing epoxy-avalonia"
mkdir epoxy_avalonia
cd epoxy_avalonia
dotnet new epoxy-avalonia
copy /y ..\..\test-templates-nuget.config nuget.config
dotnet restore
dotnet build
cd ..
rem ===========================================================
echo "Testing epoxy-avalonia F#"
mkdir epoxy_avalonia_fsharp
cd epoxy_avalonia_fsharp
dotnet new epoxy-avalonia -lang=F#
copy /y ..\..\test-templates-nuget.config nuget.config
dotnet restore
dotnet build
cd ..
rem ===========================================================
echo "Testing epoxy-xamarin-forms"
mkdir epoxy_xamarin_forms
cd epoxy_xamarin_forms
dotnet new epoxy-xamarin-forms
copy /y ..\..\test-templates-nuget.config nuget.config
dotnet restore
rem msbuild -t:build
cd ..
rem ===========================================================
echo "Testing epoxy-uwp"
mkdir epoxy_uwp
cd epoxy_uwp
dotnet new epoxy-uwp
copy /y ..\..\test-templates-nuget.config nuget.config
dotnet restore
rem msbuild -t:build
cd ..
rem ===========================================================
echo "Testing epoxy-winui"
mkdir epoxy_winui
cd epoxy_winui
dotnet new epoxy-winui
copy /y ..\..\test-templates-nuget.config nuget.config
dotnet restore
msbuild -t:build
cd ..
cd ..