mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-03 05:59:45 -05:00
narwhal: use install_symlink
This commit is contained in:
1 parent
28b82ecd22
commit
b74d84bcae
1 file changed
+2
-3
@@ -1,16 +1,15 @@
|
||||
require 'formula'
|
||||
|
||||
class Narwhal < Formula
|
||||
homepage 'http://www.narwhaljs.org/'
|
||||
url 'https://github.com/280north/narwhal/tarball/v0.3.2'
|
||||
md5 'c5f8c0af38b79a7a7b827d3f05f79e21'
|
||||
homepage 'http://www.narwhaljs.org/'
|
||||
|
||||
head 'https://github.com/280north/narwhal.git'
|
||||
|
||||
def install
|
||||
rm Dir['bin/*.cmd']
|
||||
libexec.install Dir['*']
|
||||
bin.mkpath
|
||||
Dir["#{libexec}/bin/*"].each { |d| ln_s d, bin }
|
||||
bin.install_symlink Dir["#{libexec}/bin/*"]
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user