Skip to content

Commit 416789e

Browse files
committed
swiftly: remove Xcode requirement
* Xcode should not be a requirement at runtime. * Ventura still relies on Xcode as there is not Swift 5.10+ release available. * `on_linux` block is dead code as the formula is restricted to macOS.
1 parent d30134c commit 416789e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Formula/s/swiftly.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,11 @@ class Swiftly < Formula
1919
# TODO: someone who cares: submit a PR to fix this!
2020
depends_on :macos
2121

22-
depends_on macos: :ventura
23-
depends_on xcode: "8.0"
24-
2522
uses_from_macos "swift" => :build, since: :sonoma # swift 5.10+
2623
uses_from_macos "zlib"
2724

28-
on_linux do
29-
depends_on "libarchive"
25+
on_ventura :or_older do
26+
depends_on xcode: ["15.0", :build]
3027
end
3128

3229
def install

0 commit comments

Comments
 (0)