Browse Source

Fix build script

master
Savorboard 5 years ago
parent
commit
b66031c2b6
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      build/BuildScript.cs

+ 3
- 4
build/BuildScript.cs View File

@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using FlubuCore.Context; using FlubuCore.Context;
using FlubuCore.IO; using FlubuCore.IO;
using FlubuCore.Scripting; using FlubuCore.Scripting;
@@ -66,8 +65,8 @@ namespace BuildScript
.NoBuild() .NoBuild()
.Project(projectFile) .Project(projectFile)
.IncludeSymbols() .IncludeSymbols()
.VersionSufix(BuildVersion.Suffix)
.OutputDirectory(ArtifactsDir));
.When(() => !string.IsNullOrEmpty(BuildVersion.Suffix), t => t.VersionSufix(BuildVersion.Suffix)
.OutputDirectory(ArtifactsDir);
}); });


context.CreateTarget("Default") context.CreateTarget("Default")


Loading…
Cancel
Save