mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove unneeded check to mrbtest in tasks/presym.rake
With the change in #5267, `build.products` no longer contains `mrbtest` when `tasks/presym.rake` is loaded.
This commit is contained in:
+1
-4
@@ -1,4 +1,3 @@
|
||||
mrbtest = "#{MRuby::Build.install_dir}/mrbtest"
|
||||
all_prerequisites = ->(task_name, prereqs) do
|
||||
Rake::Task[task_name].prerequisites.each do |prereq_name|
|
||||
next if prereqs[prereq_name]
|
||||
@@ -21,9 +20,7 @@ MRuby.each_target do |build|
|
||||
pps = []
|
||||
build_dir = "#{build.build_dir}/"
|
||||
mrbc_build_dir = "#{build.mrbc_build.build_dir}/" if build.mrbc_build
|
||||
build.products.each do |product|
|
||||
all_prerequisites.(product, prereqs) unless product == mrbtest
|
||||
end
|
||||
build.products.each{|product| all_prerequisites.(product, prereqs)}
|
||||
prereqs.each_key do |prereq|
|
||||
next unless File.extname(prereq) == build.exts.object
|
||||
next unless prereq.start_with?(build_dir)
|
||||
|
||||
Reference in New Issue
Block a user