diff options
| author | Yehor Lvivski | 2012-12-07 14:14:40 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-12-17 12:52:30 -0800 |
| commit | 98214cd42c68d7b2bced41af6db1ab67d434fa31 (patch) | |
| tree | 6b94def3d3f6ca7b93707f2182bb54189a10d500 /Library/Formula | |
| parent | 88bbb23f303ea3272d4bf48c77bad17757fc7653 (diff) | |
| download | homebrew-98214cd42c68d7b2bced41af6db1ab67d434fa31.tar.bz2 | |
dart 15699
Closes #16458.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/dart.rb | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/Library/Formula/dart.rb b/Library/Formula/dart.rb index 8f2da3a5f..ef7f7414c 100644 --- a/Library/Formula/dart.rb +++ b/Library/Formula/dart.rb @@ -4,29 +4,19 @@ class Dart < Formula homepage 'http://www.dartlang.org/' if MacOS.prefer_64_bit? - url 'https://gsdview.appspot.com/dart-editor-archive-integration/13679/dartsdk-macos-64.zip' - sha1 'b6f4902cbc48e59799980b2830108ccb2fe8d2b7' + url 'https://gsdview.appspot.com/dart-editor-archive-integration/15699/dartsdk-macos-64.zip' + sha1 '7ecee694bf6d454bdce73ab55ce83799447d701e' else - url 'https://gsdview.appspot.com/dart-editor-archive-integration/13679/dartsdk-macos-32.zip' - sha1 'aa92ba954aa730e58216520f9ddd7c0489d7ae06' + url 'https://gsdview.appspot.com/dart-editor-archive-integration/15699/dartsdk-macos-32.zip' + sha1 '1606706fe74ecc095ef0e25de12a92bbf07c063a' end - version '13679' - - def shim_script target - <<-EOS.undent - #!/bin/bash - exec dart "#{target}" "$@" - EOS - end + version '15699' def install libexec.install Dir['*'] - - bin.install_symlink libexec+'bin/dart' - (bin+'dart2js').write shim_script(libexec+'pkg/compiler/implementation/dart2js.dart') - (bin+'dartdoc').write shim_script(libexec+'pkg/dartdoc/bin/dartdoc.dart') - (bin+'pub').write shim_script(libexec+'util/pub/pub.dart') + bin.install_symlink "#{libexec}/bin/dart" + bin.write_exec_script Dir["#{libexec}/bin/{pub,dart?*}"] end def test |
