forked from ghost1372/HandyControls
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cake
More file actions
78 lines (67 loc) · 2.35 KB
/
Copy pathbuild.cake
File metadata and controls
78 lines (67 loc) · 2.35 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
var target = Argument("target", "Build");
Task("Clean")
.Does(() =>
{
CleanDirectory("lib");
});
Task("Build")
.IsDependentOn("Clean")
.Does(() =>
{
var settingsNet40 = new DotNetCoreBuildSettings
{
Configuration = "Release-Net40",
OutputDirectory = "lib/net40"
};
var settingsNet45 = new DotNetCoreBuildSettings
{
Configuration = "Release",
Framework = "net45",
OutputDirectory = "lib/net45"
};
var settingsNet462 = new DotNetCoreBuildSettings
{
Configuration = "Release",
Framework = "net462",
OutputDirectory = "lib/net462"
};
var settingsNet47 = new DotNetCoreBuildSettings
{
Configuration = "Release",
Framework = "net47",
OutputDirectory = "lib/net47"
};
var settingsNet48 = new DotNetCoreBuildSettings
{
Configuration = "Release",
Framework = "net48",
OutputDirectory = "lib/net48"
};
var settingsCore30 = new DotNetCoreBuildSettings
{
Configuration = "Release",
Framework = "netcoreapp3.0",
OutputDirectory = "lib/netcoreapp3.0"
};
var settingsCore31 = new DotNetCoreBuildSettings
{
Configuration = "Release",
Framework = "netcoreapp3.1",
OutputDirectory = "lib/netcoreapp3.1"
};
var settingsNet50 = new DotNetCoreBuildSettings
{
Configuration = "Release",
Framework = "net5.0-windows",
OutputDirectory = "lib/net5.0-windows"
};
DotNetCoreBuild("../src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj", settingsNet40);
DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet45);
DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet462);
DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet47);
DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet48);
DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsCore30);
DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsCore31);
DotNetCoreBuild("../src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj", settingsNet50);
});
RunTarget(target);