Sha256: e4e8a13588576099f09b3d7d8c51dfb95920397f69f3d3b9881e44f8a4643ff2

Contents?: true

Size: 697 Bytes

Versions: 12

Compression:

Stored size: 697 Bytes

Contents

solidus = Bundler.locked_gems.dependencies['solidus']

if Bundler.locked_gems.dependencies['solidus_frontend']
  say_status :skipping, "solidus_frontend is already in the bundle", :blue
else
  # `solidus_frontend` is not sourced from rubygems if the solidus gem was not.
  github_solidus_frontend = '--github solidusio/solidus_frontend' unless solidus.nil? || solidus.source.is_a?(Bundler::Source::Rubygems)

  bundle_command("add solidus_frontend #{github_solidus_frontend}")
end

# Disable solidus_bolt installation from solidus_frontend as it can be
# explicitly selected directly from the solidus installer.
with_env('SKIP_SOLIDUS_BOLT' => 'true') do
  generate 'solidus_frontend:install'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
solidus_core-3.4.6 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.4.5 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.4.4 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.3.4 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.3.3 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.4.3 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.4.2 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.3.2 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.4.1 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.4.0 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.3.1 lib/generators/solidus/install/app_templates/frontend/classic.rb
solidus_core-3.3.0 lib/generators/solidus/install/app_templates/frontend/classic.rb