Skip to content

Unexpected sort order when using custom-packages-file-path and settings-bundle output #158

Description

@Tunous

I'm using the custom-packages-file-path argument to include additional licenses that are not listed in the Package.swift file. This results in these custom licenses being listed at the bottom of the list. I'm using the option to generate the result as a settings bundle. I would prefer the custom packages to be sorted together with others instead of being listed last.

#!/bin/bash

swift-package-list Project.xcodeproj \
  --output-type settings-bundle \
  --requires-license \
  --output-path App/Resources/ \
  --custom-packages-file-path "$(dirname "$0")/custom-packages.json"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions