This package is to simplify the build automation system using to RevitAddin Application.
using Nuke.Common;
using Nuke.Common.Execution;
using ricaun.Nuke;
using ricaun.Nuke.Components;
class Build : NukeBuild, IPublishRevit
{
// string IHazRevitPackageBuilder.Application => "Revit.App";
public static int Main() => Execute<Build>(x => x.From<IPublishRevit>().Build);
}
env:
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
SignFile: ${{ secrets.SIGN_FILE }}
SignPassword: ${{ secrets.SIGN_PASSWORD }}
InstallationFiles: ${{ secrets.INSTALLATION_FILES }}
string IHazPackageBuilderProject.Name => "Example";
bool IHazPackageBuilderProject.ReleasePackageBuilder => true;
bool IHazPackageBuilderProject.ReleaseBundle => true;
bool IHazPackageBuilderProject.ProjectNameFolder => true;
bool IHazPackageBuilderProject.ProjectVersionFolder => true;
bool IHazPackageBuilderProject.ProjectRemoveTargetFrameworkFolder => true;
string IHazRevitPackageBuilder.Application => "Revit.App";
string IHazRevitPackageBuilder.ApplicationType => "Application";
bool IHazRevitPackageBuilder.MiddleVersions => true;
bool IHazRevitPackageBuilder.NewVersions => true;
string IHazRevitPackageBuilder.VendorId => "VendorId";
string IHazRevitPackageBuilder.VendorDescription => "VendorDescription";
string IHazInstallationFiles.InstallationFiles => "InstallationFiles";
IssConfiguration IHazInstallationFiles.IssConfiguration => new IssConfiguration()
{
Image = "image.bmp",
ImageSmall = "imageSmall.bmp",
Icon = "icon.ico",
Licence = "License.txt",
Language = new IssLanguage() { Name = "en", MessagesFile = "compiler:Default.isl"},
IssLanguageLicences
= new[] {
new IssLanguageLicence() { Name="br", Licence = "License-br.txt", MessagesFile = @"compiler:Languages\BrazilianPortuguese.isl"}
}
};
This package is licensed under the MIT Licence.
Do you like this package? Please star this project on GitHub!
Copyright © 2022 ricaun