mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-24 13:38:34 +01:00
made all tasks explicitly depend on prepare
This commit is contained in:
parent
0ccac21825
commit
0cc1040700
1 changed files with 2 additions and 2 deletions
|
@ -76,14 +76,14 @@ Task("Push").WithCriteria(gitRef == "refs/heads/main" || gitRef.StartsWith("refs
|
||||||
DotNetNuGetPush("**/MLEM*.nupkg", settings);
|
DotNetNuGetPush("**/MLEM*.nupkg", settings);
|
||||||
});
|
});
|
||||||
|
|
||||||
Task("Document").Does(() => {
|
Task("Document").IsDependentOn("Prepare").Does(() => {
|
||||||
DocFxMetadata("Docs/docfx.json");
|
DocFxMetadata("Docs/docfx.json");
|
||||||
DocFxBuild("Docs/docfx.json");
|
DocFxBuild("Docs/docfx.json");
|
||||||
if (serve)
|
if (serve)
|
||||||
DocFxServe("Docs/_site");
|
DocFxServe("Docs/_site");
|
||||||
});
|
});
|
||||||
|
|
||||||
Task("PublishWeb").Does(() => {
|
Task("PublishWeb").IsDependentOn("Prepare").Does(() => {
|
||||||
DotNetPublish("Demos.Web/Demos.Web.KNI.csproj", new DotNetPublishSettings {
|
DotNetPublish("Demos.Web/Demos.Web.KNI.csproj", new DotNetPublishSettings {
|
||||||
Configuration = config,
|
Configuration = config,
|
||||||
ArgumentCustomization = args => args.Append($"/p:Version={version}")
|
ArgumentCustomization = args => args.Append($"/p:Version={version}")
|
||||||
|
|
Loading…
Reference in a new issue