Skip to content

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

License

Notifications You must be signed in to change notification settings

ricaun-io/ricaun.Nuke.PackageBuilder

Repository files navigation

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 Licence.


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


Copyright © 2022 ricaun

About

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

Resources

License

Stars

Watchers

Forks

Sponsor this project