📜  Formula Cookbook](https: docs.brew.sh Formula-Cookbook) 和 [Ruby Style Guide](https: github.com rubocop-hq ruby-style-guide#the-ruby-style-guide) - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:50.090000             🧑  作者: Mango

代码示例4
class Foo < Formula
  depends_on "pkg-config"
  depends_on "jpeg"
  depends_on "readline" => :recommended
  depends_on "gtk+" => :optional
  depends_on "httpd" => [:build, :test]
  depends_on :xcode => "9.3"
end