Skip to content

Commit

Permalink
Merge pull request #47 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 committed Aug 2, 2022
2 parents 31678e9 + bcb0822 commit 7c69f64
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
Expand Up @@ -4,7 +4,13 @@ source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

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 7c69f64

Please sign in to comment.