<% raw_tap_name = @data['tap_name'].to_s %> <% tap_name = raw_tap_name.empty? ? 'ivuorinen/tap' : raw_tap_name %> <% formula_name = @formula['name'].to_s %> <% name = h("#{tap_name}/#{formula_name}") %> <%= render_partial('head', title: "#{formula_name} - #{tap_name}", style_path: '../style.css') %>
<%= render_partial('header', tap_name: name, description: @formula['description'].to_s, active_page: :formulae, base_path: '../') %>

Installation

<% if @formula['url'] %> <% end %> <% if @formula['homepage'] %> <% end %>
<%= render_partial('command_input', command: "brew install #{name}", size: 'lg', label: 'CLI') %>
<% if @formula['version'] %> <% end %> <% if @formula['license'] %> <% end %> <% if @formula['homepage'] %> <% end %> <% dependencies = Array(@formula['dependencies']).reject(&:nil?) %> <% if dependencies.any? %> <% end %> <% if @formula['sha256'] %> <% end %>
Formula Details
Version <%= h(@formula['version'].to_s) %>
License <%= h(@formula['license'].to_s) %>
Homepage <%= h(@formula['homepage'].to_s) %>
Dependencies
<% dependencies.each do |dep| %> dep: <%= h(dep.to_s) %> <% end %>
Formula File <%= h(@formula['file_path'].to_s) %>
Last Modified <%= h(@formula['last_modified'].to_s) %>
SHA256
<%= render_partial('footer', generated_at: @data['generated_at']) %>