Skip to content

Improve build.json schema #5

@JanKrivanek

Description

@JanKrivanek

Suggestion by @mmitche:

It looks like MsBuildProject, MsBuildProjectFilePerLibAsset, and BuildScript, and BuildScriptPerLibAsset would be mutually exclusive, but it’s not obvious. I wonder whether you could combine them into a single object that makes it more obvious how to construct it. Maybe something like:

{
  "PackageName": "Package03",
  "Build": [
    "*": {
      "BuildScript": "foo.cmd"
    }
  ],
}

// With per-lib projects.

{
  "PackageName": "Package03",
  
  "Build": [
    "net6/Package03.dll": {
      "ProjectFile": "src/package03/net6/package03.vbproj"
    },
    "net7/Package03.dll": {
      "ProjectFile": "src/package03/net7/package03.csproj"
    },
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions