Sha256: d714d4575dc934484c873ae9dabead8824d434231dd2cb921d06e3ce5a60e6ac

Contents?: true

Size: 715 Bytes

Versions: 5

Compression:

Stored size: 715 Bytes

Contents

Tay::Specification.new do |ext|
  ext.name = '<%= config['name'] %>'
  ext.version = '0.0.1'
<% if config['browser-action'] %>
  ext.stylesheets << 'stylesheets/browser_action.css'
  ext.javascripts << 'javascripts/browser_action.js'
  ext.add_browser_action do |ba|
    ba.title = '<%= config['name'] %>'
    ba.popup = 'html/browser_action.html'
    # ba.icon = 'assets/browser_action_icon.png'
  end
<% end -%>
<% if config['page-action'] %>
  ext.permissions << 'tabs'
  ext.background_scripts << 'javascripts/page_action_controller.js'
  ext.add_page_action do |pa|
    pa.title = '<%= config['name'] %>'
    pa.icon = 'assets/page_action_icon.png'
    # pa.popup = 'html/page_action.html'
  end
<% end -%>
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tay-0.1.0 lib/tay/cli/templates/Tayfile
tay-0.0.5 lib/tay/cli/templates/Tayfile
tay-0.0.4 lib/tay/cli/templates/Tayfile
tay-0.0.3 lib/tay/cli/templates/Tayfile
tay-0.0.2 lib/tay/cli/templates/Tayfile