diff --git a/.nuke/build.schema.json b/.nuke/build.schema.json index 9a68b28..1fe0a43 100644 --- a/.nuke/build.schema.json +++ b/.nuke/build.schema.json @@ -1,31 +1,5 @@ { "$schema": "http://json-schema.org/draft-04/schema#", - "properties": { - "Configuration": { - "type": "string", - "description": "Configuration to build - Default is 'Release'", - "enum": [ - "Debug", - "Release" - ] - }, - "GlobalVips": { - "type": "boolean", - "description": "Test with a globally installed libvips" - }, - "Package": { - "type": "boolean", - "description": "Build and create NuGet packages" - }, - "SkipTests": { - "type": "boolean", - "description": "Skip unit tests" - }, - "Solution": { - "type": "string", - "description": "Path to a solution file that is automatically loaded" - } - }, "definitions": { "Host": { "type": "string", @@ -127,5 +101,37 @@ } } }, - "$ref": "#/definitions/NukeBuild" + "allOf": [ + { + "properties": { + "Configuration": { + "type": "string", + "description": "Configuration to build - Default is 'Release'", + "enum": [ + "Debug", + "Release" + ] + }, + "GlobalVips": { + "type": "boolean", + "description": "Test with a globally installed libvips" + }, + "Package": { + "type": "boolean", + "description": "Build and create NuGet packages" + }, + "SkipTests": { + "type": "boolean", + "description": "Skip unit tests" + }, + "Solution": { + "type": "string", + "description": "Path to a solution file that is automatically loaded" + } + } + }, + { + "$ref": "#/definitions/NukeBuild" + } + ] } diff --git a/build/NetVips.Build.csproj b/build/NetVips.Build.csproj index db8fa1f..f52af6c 100644 --- a/build/NetVips.Build.csproj +++ b/build/NetVips.Build.csproj @@ -13,11 +13,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - +