diff options
| author | Kevin Moore | 2012-06-08 10:26:55 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2012-06-14 21:17:54 -0700 | 
| commit | f4d5aa8b05201bb8205e40d22a4bab1b42e53d76 (patch) | |
| tree | daf82d1b88b21808e487779b223d6479e1bae11c /Library/Formula/dart.rb | |
| parent | e46b4fbb9d2b3873a324a75d82ce7249379b225f (diff) | |
| download | homebrew-f4d5aa8b05201bb8205e40d22a4bab1b42e53d76.tar.bz2 | |
dart: cleanup
removed shim script
pub is now along for the ride
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/dart.rb')
| -rw-r--r-- | Library/Formula/dart.rb | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/dart.rb b/Library/Formula/dart.rb index 38a48b433..a470fed5c 100644 --- a/Library/Formula/dart.rb +++ b/Library/Formula/dart.rb @@ -9,16 +9,17 @@ class Dart < Formula    def shim_script target      <<-EOS.undent        #!/bin/bash -      exec "#{target}" "$@" +      exec dart "#{target}" "$@"      EOS    end    def install      libexec.install Dir['*'] -    (bin+'dart').write shim_script("#{libexec}/bin/dart") -    (bin+'dart2js').write shim_script("#{libexec}/bin/dart2js") -    (bin+'pub').write shim_script("#{libexec}/bin/pub") +    bin.install_symlink libexec+'bin/dart' +    (bin+'dart2js').write shim_script(libexec+'lib/compiler/implementation/dart2js.dart') +    (bin+'dartdoc').write shim_script(libexec+'lib/dartdoc/dartdoc.dart') +    (bin+'pub').write shim_script(libexec+'util/pub/pub.dart')    end    def test  | 
