Skip to content

Instantly share code, notes, and snippets.

@richo
Created October 19, 2012 03:14
Show Gist options
  • Save richo/3916030 to your computer and use it in GitHub Desktop.
Save richo/3916030 to your computer and use it in GitHub Desktop.
dep "pear.bin" do
on(:ubuntu) do
requires "pear.managed"
on(:osx) do
requires "php53.brew"
end
end
dep "php53.brew" do
requires "brew tapped".with("homebrew/dupes")
"brew tapped".with("josegonzalez/homebrew-php")
end
dep "brew tapped", :tap do
met? {
shell? ("brew tap | grep #{tap}")
}
meet {
shell ("brew tap #{tap}")
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment