File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ class Licenseplist < Formula
2
+ desc "License list generator of all your dependencies for iOS applications"
3
+ homepage "https://www.slideshare.net/mono0926/licenseplist-a-license-list-generator-of-all-your-dependencies-for-ios-applications"
4
+ url "https://github.com/mono0926/LicensePlist/archive/refs/tags/3.22.5.tar.gz"
5
+ sha256 "568c3bb40784ee59d5ebf12a6249d95f2eda2f2aabd43ad5be57e1c5db5f7b08"
6
+ license "MIT"
7
+
8
+ depends_on xcode : [ "13.0" , :build ]
9
+ depends_on :macos
10
+ uses_from_macos "swift" => :build
11
+
12
+ def install
13
+ system "make" , "install" , "PREFIX=#{ prefix } "
14
+ end
15
+
16
+ test do
17
+ ( testpath /"Cartfile.resolved" ) . write <<~EOS
18
+ github "realm/realm-swift" "v10.20.2"
19
+ EOS
20
+ assert_match "None" , shell_output ( "license-plist --suppress-opening-directory" )
21
+ end
22
+ end
You can’t perform that action at this time.
0 commit comments