Skip to content

Instantly share code, notes, and snippets.

@ma11hew28
Last active August 18, 2016 05:40
Show Gist options
  • Save ma11hew28/3072321 to your computer and use it in GitHub Desktop.
Save ma11hew28/3072321 to your computer and use it in GitHub Desktop.
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
Copy link

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