Skip to content

Latest commit

 

History

History
93 lines (72 loc) · 3.26 KB

README.md

File metadata and controls

93 lines (72 loc) · 3.26 KB

ricaun.Nuke.PackageBuilder

This package is to simplify the build automation system using to RevitAddin Application.

Revit 2017 Visual Studio 2022 Nuke License MIT Build Release

Example

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);
}

Environment Variables

env:
    GitHubToken: ${{ secrets.GITHUB_TOKEN }}
    SignFile: ${{ secrets.SIGN_FILE }}
    SignPassword: ${{ secrets.SIGN_PASSWORD }}
    InstallationFiles: ${{ secrets.INSTALLATION_FILES }}

IPublishRevit

IHazPackageBuilderProject

string IHazPackageBuilderProject.Name => "Example";
bool IHazPackageBuilderProject.ReleasePackageBuilder => true;
bool IHazPackageBuilderProject.ReleaseBundle => true;
bool IHazPackageBuilderProject.ProjectNameFolder => true;
bool IHazPackageBuilderProject.ProjectVersionFolder => true;
bool IHazPackageBuilderProject.ProjectRemoveTargetFrameworkFolder => true;

IHazRevitPackageBuilder

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";

IHazInstallationFiles

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"}
        }
};

License

This package is licensed under the MIT License.


Do you like this package? Please star this project on GitHub!


Copyright © 2022 ricaun