File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,13 +5,17 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55
66branch = ENV . fetch ( 'SOLIDUS_BRANCH' , 'master' )
77
8- git "https://github.com/solidusio/solidus.git" , branch : branch do
9- gem 'solidus_api'
10- gem 'solidus_backend'
11- gem 'solidus_core'
12- gem 'solidus_frontend'
13- gem 'solidus_sample'
14- end
8+ solidus_git , solidus_frontend_git = if ( branch == 'master' ) || ( branch >= 'v3.2' )
9+ %w[ solidusio/solidus solidusio/solidus_frontend ]
10+ else
11+ %w[ solidusio/solidus ] * 2
12+ end
13+
14+ gem 'solidus_api' , github : solidus_git , branch : branch
15+ gem 'solidus_backend' , github : solidus_git , branch : branch
16+ gem 'solidus_core' , github : solidus_git , branch : branch
17+ gem 'solidus_frontend' , github : solidus_frontend_git , branch : branch
18+ gem 'solidus_sample' , github : solidus_git , branch : branch
1519
1620gem 'rails' , ENV . fetch ( 'RAILS_VERSION' , nil )
1721
You can’t perform that action at this time.
0 commit comments