Skip to content

Commit

Permalink
Comments....
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Dec 21, 2021
1 parent 57107a9 commit 531c2d2
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@ class Build : NukeBuild, IPublishPack, ICompileExample, IRevitPackageBuilder
bool IHazPackageBuilderProject.ReleasePackageBuilder => true;
string IHazPackageBuilder.Application => "Revit.App";
string IHazExample.Name => RevitProjectName;
bool IHazExample.ReleaseExample => false;
public static int Main() => Execute<Build>(x => x.From<IPublishPack>().Build);
}

/*
// Create RevitProjectName
[CheckBuildProjectConfigurations]
class Build : NukeBuild, IPublishRevit
{
private const string RevitProjectName = "RevitAddin.PackageBuilder.Example";
string IHazMainProject.MainName => RevitProjectName;
string IHazPackageBuilder.Application => "Revit.App";
public static int Main() => Execute<Build>(x => x.From<IPublishRevit>().Build);
}
*/
/// <summary>
/// Create RevitProjectName
/// </summary>
//[CheckBuildProjectConfigurations]
//class Build : NukeBuild, IPublishRevit
//{
// private const string RevitProjectName = "RevitAddin.PackageBuilder.Example";
// string IHazMainProject.MainName => RevitProjectName;
// string IHazPackageBuilder.Application => "Revit.App";
// public static int Main() => Execute<Build>(x => x.From<IPublishRevit>().Build);
//}

0 comments on commit 531c2d2

Please sign in to comment.