To install Meteor with the Homebrew formula below, run:
brew install https://gist.github.com/raw/4317935/05084353d3cd50acad7e88e01c3f6463b42c0ed3/meteor.rb
This Homebrew Meteor Formula is based on https://install.meteor.com.
| require 'formula' | |
| class Meteor < Formula | |
| homepage 'http://www.meteor.com' | |
| url 'http://d3sqy0vbqsdhku.cloudfront.net/meteor-package-Darwin-x86_64-0.5.2.tar.gz' | |
| sha1 '0f285ed1a9166ca35539566ebee9ac0d7b3df649' | |
| def install | |
| libexec.install(Dir['{.*,*}'] - ['.', '..']) # includes dotfiles | |
| (bin+'meteor').write <<-EOS.undent | |
| #!/bin/bash | |
| exec "#{libexec}/bin/meteor" "$@" | |
| EOS | |
| end | |
| def test | |
| system "#{bin}/meteor", '--version' | |
| end | |
| end |