-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.cake
48 lines (41 loc) · 1.37 KB
/
build.cake
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
#addin "Cake.Figlet&version=1.3.1"
#load "build/*.cake"
Setup<BuildData>(context =>
{
Information(Figlet("Chess"));
return new BuildData(
context,
GetConfiguration(),
new SolutionData(
"./artifacts",
"./Chess.sln",
new[]
{
"./src/orleans/Chess.Orleans.ConsoleApp",
"./src/orleans/Chess.Orleans.SiloHost",
},
new[]
{
"dotnet artifacts/Chess.Orleans.SiloHost.dll",
"dotnet artifacts/Chess.Orleans.ConsoleApp.dll",
"dotnet artifacts/Chess.Orleans.ConsoleApp.dll",
"dotnet artifacts/Chess.Orleans.ConsoleApp.dll",
"dotnet artifacts/Chess.Orleans.ConsoleApp.dll",
"dotnet artifacts/Chess.Orleans.ConsoleApp.dll",
}));
});
Task("Default")
.IsDependentOn("Delete-Temp-Directories")
.IsDependentOn("Restore-NuGet-Packages")
.IsDependentOn("Build-Solution")
.IsDependentOn("Run-Tests");
Task("Start")
.IsDependentOn("Delete-Temp-Directories")
.IsDependentOn("Restore-NuGet-Packages")
.IsDependentOn("Build-Solution")
.IsDependentOn("Run-Tests")
.IsDependentOn("Publish-Console-Apps")
.IsDependentOn("Run-Cmds");
Task("Start-Apps")
.IsDependentOn("Run-Cmds");
RunTarget(Argument("target", "Default"));