NSHipster / SwiftSyntaxHighlighter

A syntax highlighter for Swift code that uses SwiftSyntax to generate Pygments-compatible HTML.
https://nshipster.com/swiftsyntax/
MIT License
276 stars 12 forks source link

Add version-specific manifests for Swift 5.4 and 5.5 #15

Closed compnerd closed 3 years ago

compnerd commented 3 years ago

This changes the build to track main, which is required when building against the latest toolchain. This allows us to build SwiftSyntaxHighlighter on Windows with the latest toolchain.

compnerd commented 3 years ago

@mattt I'm not sure whats the best way to handle this. Tracking releases via branch makes some sense I think. That is you could have a release/5.3, release/5.4, release/5.5 to track the released branches and have main track main. This was the last piece that allows me to build SwiftSyntaxHighlighter on Windows.

I think that with this change merged, it might even be possible to setup CI to keep the package building on Windows.

mattt commented 3 years ago

@compnerd What if we did the following?

Would something like that meet your needs?

compnerd commented 3 years ago

I think that should work. Really, ultimately, what Im looking for is being able to build SwiftSyntaxHighlighter with 5.4+ so that it is available on Windows as well to get swift-doc.

mattt commented 3 years ago

@compnerd This is now available in version 1.2.2