play: use install_symlink
This commit is contained in:
parent
f1aafcc49a
commit
131ca49884
1 changed files with 2 additions and 3 deletions
|
@ -1,15 +1,14 @@
|
|||
require 'formula'
|
||||
|
||||
class Play < Formula
|
||||
url 'http://download.playframework.org/releases/play-1.2.4.zip'
|
||||
homepage 'http://www.playframework.org/'
|
||||
url 'http://download.playframework.org/releases/play-1.2.4.zip'
|
||||
md5 'ec8789f8cc02927ece536d102f5e649e'
|
||||
|
||||
def install
|
||||
rm_rf 'python' # we don't need the bundled Python for windows
|
||||
rm Dir['*.bat']
|
||||
libexec.install Dir['*']
|
||||
bin.mkpath
|
||||
ln_s libexec+'play', bin
|
||||
bin.install_symlink libexec+'play'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue