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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5bae35b · Jan 19, 2025
Jan 3, 2025
Dec 18, 2024
Dec 6, 2023
Jul 24, 2023
Jan 19, 2025
Dec 8, 2021
Dec 8, 2021
Jan 19, 2025
Jan 19, 2025
Dec 8, 2021
Nov 20, 2024
Mar 30, 2023
Oct 4, 2023

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


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


Copyright © 2022 ricaun