Skip to content

Commit

Permalink
Update configuration and platform to x64
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Nov 20, 2024
1 parent 81b01ef commit 914668b
Show file tree
Hide file tree
Showing 8 changed files with 370 additions and 105 deletions.
289 changes: 195 additions & 94 deletions Build/.nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,155 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/build",
"title": "Build Schema",
"definitions": {
"build": {
"Host": {
"type": "string",
"enum": [
"AppVeyor",
"AzurePipelines",
"Bamboo",
"Bitbucket",
"Bitrise",
"GitHubActions",
"GitLab",
"Jenkins",
"Rider",
"SpaceAutomation",
"TeamCity",
"Terminal",
"TravisCI",
"VisualStudio",
"VSCode"
]
},
"IssConfiguration": {
"type": "object",
"properties": {
"ApplicationType": {
"type": "string"
"Title": {
"type": [
"null",
"string"
]
},
"Continue": {
"type": "boolean",
"description": "Indicates to continue a previously failed build attempt"
"Image": {
"type": [
"null",
"string"
]
},
"Folder": {
"type": "string"
"ImageSmall": {
"type": [
"null",
"string"
]
},
"GitHubToken": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
"Icon": {
"type": [
"null",
"string"
]
},
"Help": {
"type": "boolean",
"description": "Shows the help text for this build assembly"
"Licence": {
"type": [
"null",
"string"
]
},
"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"
"Language": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/IssLanguage"
}
]
},
"InstallationFiles": {
"type": "string"
"IssLanguageLicences": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/IssLanguageLicence"
}
}
}
},
"IssLanguage": {
"type": "object",
"properties": {
"Name": {
"type": [
"null",
"string"
]
},
"IssConfiguration": {
"type": "string"
"MessagesFile": {
"type": [
"null",
"string"
]
}
}
},
"IssLanguageLicence": {
"type": "object",
"properties": {
"Name": {
"type": [
"null",
"string"
]
},
"MainName": {
"type": "string"
"MessagesFile": {
"type": [
"null",
"string"
]
},
"MiddleVersions": {
"type": "boolean"
"Licence": {
"type": [
"null",
"string"
]
}
}
},
"ExecutableTarget": {
"type": "string",
"enum": [
"Build",
"Clean",
"Compile",
"GitRelease",
"PackageBuilder",
"Release",
"Sign"
]
},
"Verbosity": {
"type": "string",
"description": "",
"enum": [
"Verbose",
"Normal",
"Minimal",
"Quiet"
]
},
"NukeBuild": {
"properties": {
"Continue": {
"type": "boolean",
"description": "Indicates to continue a previously failed build attempt"
},
"Name": {
"type": "string"
"Help": {
"type": "boolean",
"description": "Shows the help text for this build assembly"
},
"NewVersions": {
"type": "boolean"
"Host": {
"description": "Host for execution. Default is 'automatic'",
"$ref": "#/definitions/Host"
},
"NoLogo": {
"type": "boolean",
Expand All @@ -82,6 +170,62 @@
"type": "string"
}
},
"Root": {
"type": "string",
"description": "Root directory during build execution"
},
"Skip": {
"type": "array",
"description": "List of targets to be skipped. Empty list skips all dependencies",
"items": {
"$ref": "#/definitions/ExecutableTarget"
}
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"$ref": "#/definitions/ExecutableTarget"
}
},
"Verbosity": {
"description": "Logging verbosity during build execution. Default is 'Normal'",
"$ref": "#/definitions/Verbosity"
}
}
}
},
"allOf": [
{
"properties": {
"ApplicationType": {
"type": "string"
},
"Folder": {
"type": "string"
},
"GitHubToken": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
},
"InstallationFiles": {
"type": "string"
},
"IssConfiguration": {
"$ref": "#/definitions/IssConfiguration"
},
"MainName": {
"type": "string"
},
"MiddleVersions": {
"type": "boolean"
},
"Name": {
"type": "string"
},
"NewVersions": {
"type": "boolean"
},
"ProjectNameFolder": {
"type": "boolean"
},
Expand All @@ -103,10 +247,6 @@
"ReleasePackageBuilder": {
"type": "boolean"
},
"Root": {
"type": "string",
"description": "Root directory during build execution"
},
"SignFile": {
"type": "string",
"default": "Secrets must be entered via 'nuke :secrets [profile]'"
Expand All @@ -115,59 +255,20 @@
"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"
]
}
}
},
{
"$ref": "#/definitions/NukeBuild"
}
}
]
}
2 changes: 1 addition & 1 deletion Build/Build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ricaun.Nuke.PackageBuilder" Version="*" />
<PackageReference Include="ricaun.Nuke.PackageBuilder" Version="*-*" />
</ItemGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Support Revit 2025 - .NET Core
### Updated
- Update configuration in `CPlusPlus` to `Release-Core` and `Debug-Core`.
- Add `x64` platform in Revit project to make `CPlusPlus` to build with correct with `ricaun.Nuke`.

## [1.0.0] / 2023-12-26
- First Release
Expand Down
Loading

0 comments on commit 914668b

Please sign in to comment.