Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by frizlab

2 months ago

For Swift there’s even a project[1] that allows running scripts that have external dependencies (posting the fork because the upstream is mostly dead).

I think it’s uv’s equivalent, but for Swift.

(Also Swift specifically supports an actual shebang for Swift scripts.)

[1] https://github.com/xcode-actions/swift-sh

0 comments

frizlab

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities