Created
May 16, 2012 08:41
-
-
Save kyohsuke/2708767 to your computer and use it in GitHub Desktop.
mruby install formula with Homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Mruby < Formula | |
homepage 'http://www.mruby.org/' | |
head 'https://github.com/mruby/mruby.git' | |
def install | |
ENV.j1 | |
system "make" | |
system "make test" | |
bin.install "bin/mrbc", "bin/mruby", "bin/mirb" | |
include.install "include/mrbconf.h" | |
include.install "include/mruby" | |
include.install "include/mruby.h" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can also run directly from here: