From 68108e109839a901313b9933cbb1e3202aed90cf Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 18 Sep 2009 19:16:39 +0100 Subject: Dependency resolution with fancy syntax Is it a DSL? No. But people call it that apparently. To add a dependency: class Doe :optional depends_on 'far' => :recommended depends_on Sew.new end Sew would be a formula you have defined in this Formula file. This is useful, eg. see Python's formula. Formula specified in this fashion cannot be linked into the HOMEBREW_PREFIX, they are considered private libraries. This allows you to create custom installations that are very specific to your formula. More features to come, like specifying versions --- Library/Formula/mysql.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Library/Formula/mysql.rb') diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index 5cfb8be41..76fd2a7c4 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -5,9 +5,7 @@ class Mysql