Permalink
Browse files

update submodules (take 2)

  • Loading branch information...
1 parent afacb6a commit 12d39e44810596abc26a9703bd21129626ca7662 @RyanScottLewis committed Dec 24, 2012
Showing with 4 additions and 3 deletions.
  1. +2 −2 lib/rake/lua_mruby_tasks.rb
  2. +2 −1 mruby-0.1-0.rockspec
@@ -70,13 +70,13 @@ def run(command)
end
def compile_lua
- run "cd #{root} && git init" unless root.join('.git').exist?
+ run "cd #{root} && git init && git remote add origin https://github.com/RyanScottLewis/lua-mruby.git" unless root.join('.git').exist?
run "cd #{root} && git submodule update --init lib/lua/"
run "cd #{lua} && make posix" # TODO: Not 100% sure this is needed...
end
def compile_mruby
- run "cd #{root} && git init" unless root.join('.git').exist?
+ run "cd #{root} && git init && git remote add origin https://github.com/RyanScottLewis/lua-mruby.git" unless root.join('.git').exist?
run "cd #{root} && git submodule update --init lib/mruby/"
run "cd #{mruby} && git pull && make"
end
@@ -32,4 +32,5 @@ build = {
-- -- -- libdirs = {"lib"}
-- -- }
-- }
-}
+}
+

0 comments on commit 12d39e4

Please sign in to comment.