Skip to content

Commit 02db438

Browse files
Stop trying to resolve solidus_frontend v4 on the test extension
[skip ci]
1 parent ba8a2f3 commit 02db438

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • lib/solidus_dev_support/templates/extension

lib/solidus_dev_support/templates/extension/Gemfile.tt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
77
gem 'solidus', github: 'solidusio/solidus', branch: branch
88

99
# The solidus_frontend gem has been pulled out since v3.2
10-
gem 'solidus_frontend', github: 'solidusio/solidus_frontend' if branch == 'main'
11-
gem 'solidus_frontend' if branch >= 'v3.2' # rubocop:disable Bundler/DuplicatedGem
10+
if branch >= 'v3.2'
11+
gem 'solidus_frontend'
12+
elsif branch == 'main'
13+
gem 'solidus_frontend', github: 'solidusio/solidus_frontend'
14+
else
15+
gem 'solidus_frontend', github: 'solidusio/solidus', branch: branch
16+
end
1217

1318
# Needed to help Bundler figure out how to resolve dependencies,
1419
# otherwise it takes forever to resolve them.

0 commit comments

Comments
 (0)