To install Meteor with the Homebrew formula below, run:
brew install https://gist.githubusercontent.com/zsprackett/9126793/raw/fe97cf997047f305e37f1490dfbbd0dabd76ca56/meteor.rb
This Homebrew Meteor Formula is based on https://install.meteor.com.
require 'formula' | |
class Meteor < Formula | |
homepage 'http://www.meteor.com' | |
url 'https://warehouse.meteor.com/bootstrap/0.7.0.1/meteor-bootstrap-Darwin_x86_64.tar.gz' | |
sha1 '37248f566756da2d098b844e5daf40e94aea6e8f' | |
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 |