Permalink
Browse files

update submodules (take 2)

  • Loading branch information...
1 parent 12d39e4 commit d14366ef68b679ca0eba2075dac1aa99654ccdf4 @RyanScottLewis committed Dec 24, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/rake/lua_mruby_tasks.rb
@@ -70,14 +70,12 @@ def run(command)
end
def compile_lua
- 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 #{root} && git init && git remote add origin https://github.com/RyanScottLewis/lua-mruby.git && git submodule update --init lib/lua/" unless root.join('.git').exist?
run "cd #{lua} && make posix" # TODO: Not 100% sure this is needed...
end
def compile_mruby
- 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 #{root} && git init && git remote add origin https://github.com/RyanScottLewis/lua-mruby.git && git submodule update --init lib/mruby/" unless root.join('.git').exist?
run "cd #{mruby} && git pull && make"
end

0 comments on commit d14366e

Please sign in to comment.