Sha256: 57d56f6be7abaed4f2c50d77c5656d8b5638d3c533c4b9e51ac6b1e0ee4a9e7f

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 KB

Contents

# >---------------------------------------------------------------------------<
# 
#                ______   __           ____             ____  
#               / __/ /__/ /__ _____  / __/__________  / / /__
#              / _// / _  / _ `/ __/ _\ \/ __/ __/ _ \/ / (_-<
#             /___/_/\_,_/\_,_/_/   /___/\__/_/  \___/_/_/___/
#
#   This template was generated by Eldar Scrolls, the amazing and awesome Rails
#     application template builder. Get started at http://eldarscrolls.org
#
# >---------------------------------------------------------------------------<

# >----------------------------[ Initial Setup ]------------------------------<

initializer 'generators.rb', <<-RUBY
Rails.application.config.generators do |g|
end
RUBY

@scrolls = <%= resolve_scrolls.map(&:key).inspect %> 

<%= render "helpers" %>

<% resolve_scrolls.each do |scroll| %>
<%= render 'scroll', scroll.get_binding %>
<% end %>

<% if custom_code? %># >-----------------------------[ Custom Code ]-------------------------------<

<%= custom_code %><% end %>

@current_scroll = nil

# >-----------------------------[ Run Bundler ]-------------------------------<

say_wizard "Running Bundler install. This will take a while."
run 'bundle install'
say_wizard "Running after Bundler callbacks."
@after_blocks.each{|b| config = @configs[b[0]] || {}; @current_scroll = b[0]; b[1].call}

@current_scroll = nil
say_wizard "Running after everything callbacks."
@after_everything_blocks.each{|b| config = @configs[b[0]] || {}; @current_scroll = b[0]; b[1].call}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eldarscrolls-0.7.0 templates/layout.erb