From 81ea70d0ecc91f2a80da621e939999429f141beb Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Sat, 21 Sep 2024 13:45:13 -0400 Subject: [PATCH] Set different benchmarking path dirs --- tasks/gems/hearth.rb | 2 +- tasks/gems/rails_json.rb | 2 +- tasks/gems/white_label.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/gems/hearth.rb b/tasks/gems/hearth.rb index 4ee34bc2b..b07c47f5e 100644 --- a/tasks/gems/hearth.rb +++ b/tasks/gems/hearth.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Modify load path to include codegen gems from build directories -projections = 'codegen/*/build/smithyprojections/**/ruby-codegen/*/lib' +projections = 'codegen/projections/*/lib' Dir.glob(projections) do |gem_path| $LOAD_PATH.unshift(File.expand_path(gem_path)) end diff --git a/tasks/gems/rails_json.rb b/tasks/gems/rails_json.rb index 51f605afe..c6531323f 100644 --- a/tasks/gems/rails_json.rb +++ b/tasks/gems/rails_json.rb @@ -8,7 +8,7 @@ def gem_name end def gem_dir - 'codegen/smithy-ruby-rails-codegen-test/build/smithyprojections/smithy-ruby-rails-codegen-test/railsjson/ruby-codegen/rails_json' + 'codegen/projections/rails_json' end def client_module_name diff --git a/tasks/gems/white_label.rb b/tasks/gems/white_label.rb index 68cd154be..6dbbcd6d6 100644 --- a/tasks/gems/white_label.rb +++ b/tasks/gems/white_label.rb @@ -8,7 +8,7 @@ def gem_name end def gem_dir - 'codegen/smithy-ruby-codegen-test/build/smithyprojections/smithy-ruby-codegen-test/white-label/ruby-codegen/white_label' + 'codegen/projections/white_label' end def client_module_name