summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'tasks')
-rw-r--r--tasks/benchmark.rake6
1 files changed, 5 insertions, 1 deletions
diff --git a/tasks/benchmark.rake b/tasks/benchmark.rake
index 661fd2ada..e7500ccd9 100644
--- a/tasks/benchmark.rake
+++ b/tasks/benchmark.rake
@@ -9,7 +9,11 @@ def bm_files
end
def build_config_name
- MRUBY_TARGET
+ if !ENV['MRUBY_CONFIG'].to_s.empty?
+ File.basename(ENV['MRUBY_CONFIG'], '.rb').gsub('build_config_', '')
+ else
+ "build"
+ end
end
def plot_file