mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 12:39:48 -05:00
Dart 2559
http://www.dartlang.org/ Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
4732eb8d91
commit
9eb424fae7
1 file changed
+25
@@ -0,0 +1,25 @@
|
||||
require 'formula'
|
||||
|
||||
class Dart < Formula
|
||||
homepage 'http://www.dartlang.org/'
|
||||
url 'http://commondatastorage.googleapis.com/dart-dump-render-tree/sdk/dart-macos-2559.zip'
|
||||
md5 '0569646b92aa059f1ca024f9504b32eb'
|
||||
|
||||
def shim_script target
|
||||
<<-EOS.undent
|
||||
#!/bin/bash
|
||||
exec "#{target}" "$@"
|
||||
EOS
|
||||
end
|
||||
|
||||
def install
|
||||
libexec.install Dir['*']
|
||||
|
||||
(bin+'dart').write shim_script("#{libexec}/bin/dart")
|
||||
(bin+'frogc').write shim_script("#{libexec}/bin/frogc")
|
||||
end
|
||||
|
||||
def test
|
||||
system "#{bin}/dart"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user