Skip to content

Commit

Permalink
Merge pull request #88 from waiting-for-dev/waiting-for-dev/support_f…
Browse files Browse the repository at this point in the history
…orked_solidus_frontend

Update to use forked solidus_frontend when needed
  • Loading branch information
kennyadsl authored Aug 2, 2022
2 parents f7d4f32 + d255daf commit a13f486
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
source "https://rubygems.org"

branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
gem "solidus", github: "solidusio/solidus", branch: branch
solidus_git, solidus_frontend_git = if (branch == 'master') || (branch >= 'v3.2')
%w[solidusio/solidus solidusio/solidus_frontend]
else
%w[solidusio/solidus] * 2
end
gem 'solidus', github: solidus_git, branch: branch
gem 'solidus_frontend', github: solidus_frontend_git, branch: branch

# Needed to help Bundler figure out how to resolve dependencies,
# otherwise it takes forever to resolve them
Expand Down

0 comments on commit a13f486

Please sign in to comment.