Permalink
Browse files

mruby-dev

  • Loading branch information...
1 parent a585d0b commit b193b49c6bf782c78ee23a15a90d9815a793a1ad @statianzo statianzo committed Apr 5, 2013
Showing with 13 additions and 0 deletions.
  1. +12 −0 bin/ruby-build
  2. +1 −0 share/ruby-build/mruby-dev
View
@@ -399,6 +399,18 @@ build_package_rbx() {
} >&4 2>&1
}
+build_package_mruby() {
+ local package_name="$1"
+
+ { rake
+ mkdir -p "$PREFIX_PATH"
+ cp -R build/host/* "$PREFIX_PATH"
+ cd "$PREFIX_PATH/bin"
+ ln -fs mruby ruby
+ ln -fs mirb irb
+ } >&4 2>&1
+}
+
build_package_maglev() {
build_package_copy
@@ -0,0 +1 @@
+install_git "mruby-dev" "https://github.com/mruby/mruby.git" "master" mruby

0 comments on commit b193b49

Please sign in to comment.