Skip to content

Commit ab8ae96

Browse files
committed
remove duplicate mruby/ dir in mruby dir.
if at compile task, we're in mruby_root and have already cloned
1 parent 0b04542 commit ab8ae96

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Dir.chdir(mruby_root)
1414
load "#{mruby_root}/Rakefile"
1515

1616
desc "compile all the binaries"
17-
task :compile => [:mruby, :all] do
17+
task :compile => [:all] do
1818
%W(#{mruby_root}/build/host/bin/#{APP_NAME} #{mruby_root}/build/i686-pc-linux-gnu/#{APP_NAME}").each do |bin|
1919
sh "strip --strip-unneeded #{bin}" if File.exist?(bin)
2020
end

mrblib/setup.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def rakefile
302302
load "\#{mruby_root}/Rakefile"
303303
304304
desc "compile binary"
305-
task :compile => [:mruby, :all] do
305+
task :compile => [:all] do
306306
%W(\#{mruby_root}/build/host/bin/\#{APP_NAME} \#{mruby_root}/build/i686-pc-linux-gnu/\#{APP_NAME}").each do |bin|
307307
sh "strip --strip-unneeded \#{bin}" if File.exist?(bin)
308308
end

0 commit comments

Comments
 (0)