Sha256: fafe931d1d7ec866e66f773c203ac014816384254aa0c03f7da3129f39524821

Contents?: true

Size: 1001 Bytes

Versions: 30

Compression:

Stored size: 1001 Bytes

Contents

# Application template recipe for the rails_apps_composer. Change the recipe here:
# https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/frontend.rb

after_bundler do
  say_wizard "recipe running after 'bundle install'"
  # set up a front-end framework using the rails_layout gem
  case prefs[:frontend]
    when 'simple'
      generate 'layout:install simple -f'
    when 'bootstrap2'
      generate 'layout:install bootstrap2 -f'
    when 'bootstrap3'
      generate 'layout:install bootstrap3 -f'
    when 'foundation4'
      generate 'layout:install foundation4 -f'
    when 'foundation5'
      generate 'layout:install foundation5 -f'
  end

  ### GIT ###
  git :add => '-A' if prefer :git, true
  git :commit => '-qm "rails_apps_composer: front-end framework"' if prefer :git, true
end # after_bundler

__END__

name: frontend
description: "Install a front-end framework for HTML5 and CSS."
author: RailsApps

requires: [setup, gems]
run_after: [setup, gems]
category: frontend

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rails_apps_composer-2.6.13 recipes/frontend.rb
rails_apps_composer-2.6.12 recipes/frontend.rb
rails_apps_composer-2.6.11 recipes/frontend.rb
rails_apps_composer-2.6.10 recipes/frontend.rb
rails_apps_composer-2.6.9 recipes/frontend.rb
rails_apps_composer-2.6.8 recipes/frontend.rb
rails_apps_composer-2.6.7 recipes/frontend.rb
rails_apps_composer-2.6.6 recipes/frontend.rb
rails_apps_composer-2.6.5 recipes/frontend.rb
rails_apps_composer-2.6.4 recipes/frontend.rb
rails_apps_composer-2.6.3 recipes/frontend.rb
rails_apps_composer-2.6.2 recipes/frontend.rb
rails_apps_composer-2.6.1 recipes/frontend.rb
rails_apps_composer-2.6.0 recipes/frontend.rb
rails_apps_composer-2.5.1 recipes/frontend.rb
rails_apps_composer-2.5.0 recipes/frontend.rb
rails_apps_composer-2.4.44 recipes/frontend.rb
rails_apps_composer-2.4.43 recipes/frontend.rb
rails_apps_composer-2.4.42 recipes/frontend.rb
rails_apps_composer-2.4.41 recipes/frontend.rb