Skip to content

Commit

Permalink
Reengineering 7
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Nov 1, 2024
1 parent e832532 commit 0612939
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/tebako/codegen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def deploy_crt_implib(opt, scm)
if scm.msys?
crt = <<~SUBST

Check warning on line 54 in lib/tebako/codegen.rb

View check run for this annotation

Codecov / codecov/patch

lib/tebako/codegen.rb#L54

Added line #L54 was not covered by tests
Tebako::Packager.create_implib("#{opt.ruby_src_dir}", "#{opt.data_src_dir}",
"#{File.basename(opt.package)}", "#{opt.ruby_ver}")
"#{File.basename(opt.package)}", rv)
SUBST
end
crt
Expand All @@ -67,11 +67,12 @@ def deploy_rb(opt, scm)
<<~SUBST
#{deploy_rq}
rv = Tebako::RubyVersion.new("#{opt.ruby_ver}")
Tebako::Packager::init("#{opt.stash_dir}", "#{opt.data_src_dir}",
"#{opt.data_pre_dir}", "#{opt.data_bin_dir}")
#{deploy_crt_implib(opt, scm)}
Tebako::Packager.deploy("#{opt.data_src_dir}", "#{opt.data_pre_dir}",
Tebako::RubyVersion.new("#{opt.ruby_ver}"), "#{opt.root}",
rv , "#{opt.root}",
"#{scm.fs_entrance}", #{deploy_cwd(opt)})
Tebako::Packager.mkdwarfs("#{opt.deps_bin_dir}", "#{opt.data_bin_file}",
"#{opt.data_src_dir}")
Expand Down

0 comments on commit 0612939

Please sign in to comment.