spm
backend not detecting executable targets correctly
#4613
natanrolnik
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @jdx ! Huge fan of mise here, after getting to know it via Tuist.
I write some tutorials about tooling with Swift in SwiftToolkit.dev, and I wanted to show how mise can be useful to run Swift executables from remote sources.
I noticed the
spm
backend in mise is still experimental, but I think there's a regression, probably due to a change in Swift 6'sswift package dump-package
output.When running:
I get the following output:
I digged a bit into the spm backend source, and found these lines. I ran
swift package dump-package
in my repo, and I got"type" : "executable"
instead of"type" : { "executable" : null }
as described in the comments in the linked lines.Please let me know if there's any info I can provide more 🙏🏻
Beta Was this translation helpful? Give feedback.
All reactions