Create a gist now

Instantly share code, notes, and snippets.

Homebrew Meteor Formula

Homebrew Meteor Formula

Note: This formula is outdated.

To install Meteor with the Homebrew formula below, run:

brew install https://raw.github.com/gist/3072321/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.3.8.tar.gz'
sha1 '5233ee07f8fabdce927b6de40b8cbd612c4334c7'
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
@j1mr10rd4n

The above formula is out of date. I've published a homebrew-tap that includes an updated formula for meteor that I intend to maintain as future releases are cut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment