11class Xcbeautify < Formula
22 desc "Little beautifier tool for xcodebuild"
33 homepage "https://github.com/cpisciotta/xcbeautify"
4- url "https://github.com/cpisciotta/xcbeautify/archive/refs/tags/2.30.1 .tar.gz"
5- sha256 "6cc64ef9167a02b1c097f995941e93d756e27c570006ad6f9e9c83db83ed2603 "
4+ url "https://github.com/cpisciotta/xcbeautify/archive/refs/tags/3.0.0 .tar.gz"
5+ sha256 "de5c61f00adb8cfd56029a113920d5420345cdac4462e8eb3324a154d4765ac6 "
66 license "MIT"
77 head "https://github.com/cpisciotta/xcbeautify.git" , branch : "main"
88
@@ -18,8 +18,8 @@ class Xcbeautify < Formula
1818 sha256 cellar : :any_skip_relocation , x86_64_linux : "d81bcec58668fba3b890772640a7d26f456a093379755b548a41bc3e9772f079"
1919 end
2020
21- # needs Swift tools version 5.9 .0
22- depends_on xcode : [ "15.0 " , :build ]
21+ # needs Swift tools version 6.1 .0
22+ depends_on xcode : [ "16.3 " , :build ]
2323
2424 uses_from_macos "swift" => :build
2525 uses_from_macos "libxml2"
@@ -29,6 +29,7 @@ def install
2929 [ "--disable-sandbox" ]
3030 else
3131 [ "--static-swift-stdlib" ]
32+ ENV . prepend_path "LD_LIBRARY_PATH" , Formula [ "libxml2" ] . opt_lib
3233 end
3334 system "swift" , "build" , *args , "--configuration" , "release"
3435 bin . install ".build/release/xcbeautify"
0 commit comments