Skip to content

Instantly share code, notes, and snippets.

@nicdk
Forked from ma11hew28/README.md
Last active August 18, 2016 05:51
Show Gist options
  • Save nicdk/bac3b9458859848f4b8ead44dc54b396 to your computer and use it in GitHub Desktop.
Save nicdk/bac3b9458859848f4b8ead44dc54b396 to your computer and use it in GitHub Desktop.
Homebrew Meteor Formula

Homebrew Meteor Formula

To install Meteor with the Homebrew formula below, run:

brew install https://gist.github.com/nicdk/bac3b9458859848f4b8ead44dc54b396/raw/d1246b67b1e14931ffffb0f1004d340d5d353760/meteor.rb

This Homebrew Meteor Formula is based on https://install.meteor.com.

memo:

% openssl dgst -sha256  ~/Downloads/meteor-bootstrap-os.osx.x86_64.tar.gz 
SHA256(/Users/nicdk/Downloads/meteor-bootstrap-os.osx.x86_64.tar.gz)= 26cf03527ea7a7e165173d984821fecfe97288cb27ca3d676a3120d93811d8b8
require 'formula'
class Meteor < Formula
homepage 'http://www.meteor.com'
url 'https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.4.0.1/meteor-bootstrap-os.osx.x86_64.tar.gz'
sha256 '26cf03527ea7a7e165173d984821fecfe97288cb27ca3d676a3120d93811d8b8'
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