cake, coffeescript: mark conflict

This commit is contained in:
Chris Long 2017-08-03 22:22:37 -07:00 committed by FX Coudert
parent 5f94cf72e9
commit d155d4ff12
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,8 @@ class Cake < Formula
depends_on "mono" => :recommended
conflicts_with "coffeescript", :because => "both install `cake` binaries"
def install
libexec.install Dir["*.dll"]
libexec.install Dir["*.exe"]

View file

@ -22,6 +22,8 @@ class Coffeescript < Formula
depends_on "node"
conflicts_with "cake", :because => "both install `cake` binaries"
def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink Dir["#{libexec}/bin/*"]