Skip to content

Commit

Permalink
Merge pull request #1 from ricaun-io/develop
Browse files Browse the repository at this point in the history
Version 1.0.1
  • Loading branch information
ricaun authored Jan 11, 2024
2 parents 2648249 + 8ea5d20 commit 5d9d94c
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 7 deletions.
173 changes: 173 additions & 0 deletions Build/.nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/build",
"title": "Build Schema",
"definitions": {
"build": {
"type": "object",
"properties": {
"ApplicationType": {
"type": "string"
},
"Continue": {
"type": "boolean",
"description": "Indicates to continue a previously failed build attempt"
},
"Folder": {
"type": "string"
},
"GitHubToken": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"Help": {
"type": "boolean",
"description": "Shows the help text for this build assembly"
},
"Host": {
"type": "string",
"description": "Host for execution. Default is 'automatic'",
"enum": [
"AppVeyor",
"AzurePipelines",
"Bamboo",
"Bitbucket",
"Bitrise",
"GitHubActions",
"GitLab",
"Jenkins",
"Rider",
"SpaceAutomation",
"TeamCity",
"Terminal",
"TravisCI",
"VisualStudio",
"VSCode"
]
},
"InstallationFiles": {
"type": "string"
},
"IssConfiguration": {
"type": "string"
},
"MainName": {
"type": "string"
},
"MiddleVersions": {
"type": "boolean"
},
"Name": {
"type": "string"
},
"NewVersions": {
"type": "boolean"
},
"NoLogo": {
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"Plan": {
"type": "boolean",
"description": "Shows the execution plan (HTML)"
},
"Profile": {
"type": "array",
"description": "Defines the profiles to load",
"items": {
"type": "string"
}
},
"ProjectNameFolder": {
"type": "boolean"
},
"ProjectRemoveTargetFrameworkFolder": {
"type": "boolean"
},
"ProjectVersionFolder": {
"type": "boolean"
},
"ReleaseBundle": {
"type": "boolean"
},
"ReleaseFolder": {
"type": "string"
},
"ReleaseNameVersion": {
"type": "boolean"
},
"ReleasePackageBuilder": {
"type": "boolean"
},
"Root": {
"type": "string",
"description": "Root directory during build execution"
},
"SignFile": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"SignPassword": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"Skip": {
"type": "array",
"description": "List of targets to be skipped. Empty list skips all dependencies",
"items": {
"type": "string",
"enum": [
"Build",
"Clean",
"Compile",
"GitRelease",
"PackageBuilder",
"Release",
"Sign"
]
}
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"type": "string",
"enum": [
"Build",
"Clean",
"Compile",
"GitRelease",
"PackageBuilder",
"Release",
"Sign"
]
}
},
"VendorDescription": {
"type": "string"
},
"VendorId": {
"type": "string"
},
"Verbosity": {
"type": "string",
"description": "Logging verbosity during build execution. Default is 'Normal'",
"enum": [
"Minimal",
"Normal",
"Quiet",
"Verbose"
]
}
}
}
}
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.0.1] / 2024-01-11
- Add Revit version 2025 configuration

## [1.0.0] / 2024-01-11
- First Release

[vNext]: ../../compare/1.0.0...HEAD
[1.0.1]: ../../compare/1.0.0...1.0.1
[1.0.0]: ../../compare/1.0.0
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This project was generated by the [ricaun.AppLoader](https://ricaun.com/AppLoade
Video in english with the creation of this project.

[![VideoIma1]][Video1]
[![VideoIma2]][Video2]

## License

Expand All @@ -29,4 +30,7 @@ This project is [licensed](LICENSE) under the [MIT Licence](https://en.wikipedia
Do you like this project? Please [star this project on GitHub](../../stargazers)!

[Video1]: https://youtu.be/Ggtz4-pVVYw
[VideoIma1]: https://img.youtube.com/vi/Ggtz4-pVVYw/mqdefault.jpg
[VideoIma1]: https://img.youtube.com/vi/Ggtz4-pVVYw/mqdefault.jpg
[Video2]: https://youtu.be/q14EKVZaeqE
[VideoIma2]: https://img.youtube.com/vi/q14EKVZaeqE/mqdefault.jpg

10 changes: 10 additions & 0 deletions RevitAddin.Icon.Example.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,27 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2024|Any CPU = 2024|Any CPU
2025|Any CPU = 2025|Any CPU
Debug 2024|Any CPU = Debug 2024|Any CPU
Debug 2025|Any CPU = Debug 2025|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A206D7F5-A69C-4011-BD5B-9E419B5DE41E}.2024|Any CPU.ActiveCfg = 2024|Any CPU
{A206D7F5-A69C-4011-BD5B-9E419B5DE41E}.2024|Any CPU.Build.0 = 2024|Any CPU
{A206D7F5-A69C-4011-BD5B-9E419B5DE41E}.2025|Any CPU.ActiveCfg = 2025|Any CPU
{A206D7F5-A69C-4011-BD5B-9E419B5DE41E}.2025|Any CPU.Build.0 = 2025|Any CPU
{A206D7F5-A69C-4011-BD5B-9E419B5DE41E}.Debug 2024|Any CPU.ActiveCfg = Debug 2024|Any CPU
{A206D7F5-A69C-4011-BD5B-9E419B5DE41E}.Debug 2024|Any CPU.Build.0 = Debug 2024|Any CPU
{A206D7F5-A69C-4011-BD5B-9E419B5DE41E}.Debug 2025|Any CPU.ActiveCfg = Debug 2025|Any CPU
{A206D7F5-A69C-4011-BD5B-9E419B5DE41E}.Debug 2025|Any CPU.Build.0 = Debug 2025|Any CPU
{D1EE1E8F-357F-4FCC-929B-78DFC6900C6B}.2024|Any CPU.ActiveCfg = Debug|Any CPU
{D1EE1E8F-357F-4FCC-929B-78DFC6900C6B}.2024|Any CPU.Build.0 = Debug|Any CPU
{D1EE1E8F-357F-4FCC-929B-78DFC6900C6B}.2025|Any CPU.ActiveCfg = Release|Any CPU
{D1EE1E8F-357F-4FCC-929B-78DFC6900C6B}.2025|Any CPU.Build.0 = Release|Any CPU
{D1EE1E8F-357F-4FCC-929B-78DFC6900C6B}.Debug 2024|Any CPU.ActiveCfg = Debug|Any CPU
{D1EE1E8F-357F-4FCC-929B-78DFC6900C6B}.Debug 2024|Any CPU.Build.0 = Debug|Any CPU
{D1EE1E8F-357F-4FCC-929B-78DFC6900C6B}.Debug 2025|Any CPU.ActiveCfg = Debug|Any CPU
{D1EE1E8F-357F-4FCC-929B-78DFC6900C6B}.Debug 2025|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
23 changes: 17 additions & 6 deletions RevitAddin.Icon.Example/RevitAddin.Icon.Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<UseWPF>true</UseWPF>
<LangVersion>latest</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
<Configurations>
Debug 2024; 2024;
</Configurations>
<Configurations>Debug 2024;2024;Debug 2025;2025</Configurations>
</PropertyGroup>

<!-- RevitVersion -->
Expand Down Expand Up @@ -63,6 +61,12 @@
<TargetFramework>net48</TargetFramework>
</PropertyGroup>
</When>
<When Condition="$(Configuration.Contains('2025'))">
<PropertyGroup>
<RevitVersion>2025</RevitVersion>
<TargetFramework>net7.0-windows</TargetFramework>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<RevitVersion>2017</RevitVersion>
Expand All @@ -71,6 +75,13 @@
</Otherwise>
</Choose>

<!-- Net Core -->
<PropertyGroup Condition="!$(TargetFramework.StartsWith('net4'))">
<EnableDynamicLoading>true</EnableDynamicLoading>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<GenerateDependencyFile>false</GenerateDependencyFile>
</PropertyGroup>

<!-- Release -->
<PropertyGroup Condition="!$(Configuration.Contains('Debug'))">
<Optimize>true</Optimize>
Expand All @@ -97,7 +108,7 @@

<PropertyGroup>
<PackageId>RevitAddin.Icon.Example</PackageId>
<Version>1.0.0</Version>
<Version>1.0.1</Version>
<ProjectGuid>{A206D7F5-A69C-4011-BD5B-9E419B5DE41E}</ProjectGuid>
</PropertyGroup>

Expand Down Expand Up @@ -193,7 +204,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Revit_All_Main_Versions_API_x64" Version="$(RevitVersion).*" IncludeAssets="build; compile" PrivateAssets="All" />
<PackageReference Include="Revit_All_Main_Versions_API_x64" Version="$(RevitVersion).*-*" IncludeAssets="build; compile" PrivateAssets="All" />
</ItemGroup>

</Project>

0 comments on commit 5d9d94c

Please sign in to comment.