Skip to content

Commit

Permalink
Update Gant to Homebrew Java style
Browse files Browse the repository at this point in the history
Homebrew's preferred method for installing packaged software is to
install into the Cellar's libexec, and then symlink or wrap just
the binaries into bin.
  • Loading branch information
adamv committed Aug 13, 2010
1 parent b3960e4 commit 2d441d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Library/Formula/gant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ class Gant <Formula
def install
rm_f Dir["bin/*.bat"]
# gant-starter.conf is found relative to bin
prefix.install %w[bin lib conf]
libexec.install %w[bin lib conf]
(bin+'gant').write <<-EOS.undent
#!/bin/bash
exec #{libexec}/bin/gant
EOS
end
end

0 comments on commit 2d441d2

Please sign in to comment.