mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use standardized approach for get build configuration name
This commit is contained in:
@@ -9,11 +9,8 @@ def bm_files
|
||||
end
|
||||
|
||||
def build_config_name
|
||||
if !ENV['MRUBY_CONFIG'].to_s.empty?
|
||||
File.basename(ENV['MRUBY_CONFIG'], '.rb').gsub('build_config_', '')
|
||||
else
|
||||
"bm"
|
||||
end
|
||||
path = MRuby::Build.mruby_config_path
|
||||
File.basename(path, '.rb').gsub('build_config_', '')
|
||||
end
|
||||
|
||||
def plot_file
|
||||
|
||||
Reference in New Issue
Block a user