Skip to content

Commit

Permalink
Set different benchmarking path dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Sep 21, 2024
1 parent c99aed9 commit 81ea70d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tasks/gems/hearth.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tasks/gems/rails_json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tasks/gems/white_label.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81ea70d

Please sign in to comment.