Skip to content

Instantly share code, notes, and snippets.

@zsprackett
Forked from groodt/README.md
Last active August 29, 2015 13:56
Show Gist options
  • Save zsprackett/9126793 to your computer and use it in GitHub Desktop.
Save zsprackett/9126793 to your computer and use it in GitHub Desktop.

Homebrew Meteor Formula

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment