forked from ikkentim/SampSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cake
More file actions
33 lines (24 loc) · 687 Bytes
/
Copy pathbuild.cake
File metadata and controls
33 lines (24 loc) · 687 Bytes
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
#load "./cake/SharpBuild.cake"
var build = new SharpBuild(Context, "ikkentim", "SampSharp",
"SampSharp.Core",
"SampSharp.GameMode");
Task("Clean")
.Does(() => build.Clean());
Task("Restore")
.Does(() => build.Restore());
Task("Build")
.IsDependentOn("Clean")
.IsDependentOn("Restore")
.Does(() => build.Build());
Task("Pack")
.IsDependentOn("Build")
.Does(() => build.Pack());
Task("Publish")
.WithCriteria(() => build.IsAppVeyorTag)
.IsDependentOn("Pack")
.Does(() => build.Publish());
Task("Default")
.IsDependentOn("Build");
Task("AppVeyor")
.IsDependentOn("Publish");
RunTarget(Argument("target", "Default"));