Sha256: dfcc5abbf8b6217b3a4f6106d2fe5812990660e54d94fd3674b7ea2a7345377c

Contents?: true

Size: 1001 Bytes

Versions: 5

Compression:

Stored size: 1001 Bytes

Contents

require "fontcustom/version"
require "fontcustom/error"
require "fontcustom/utility"
require "fontcustom/base"
require "fontcustom/manifest"
require "fontcustom/options"
require "fontcustom/generator/font"
require "fontcustom/generator/template"

module Fontcustom
  def gem_lib
    File.expand_path(File.join(File.dirname(__FILE__), "fontcustom"))
  end
  module_function :gem_lib

  ##
  # Hack to get Thor to show more helpful defaults in `fontcustom help`. These
  # are overwritten in Fontcustom::Options.
  EXAMPLE_OPTIONS = {
    :output => "./FONT_NAME",
    :config => "./fontcustom.yml -or- ./config/fontcustom.yml",
    :templates => "css preview"
  }

  DEFAULT_OPTIONS = {
    :input => nil,
    :output => nil,
    :config => nil,
    :templates => %w|css preview|,
    :font_name => "fontcustom",
    :css_selector => ".icon-{{glyph}}",
    :preprocessor_path => nil,
    :autowidth => false,
    :no_hash => false,
    :debug => false,
    :force => false,
    :quiet => false
  }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fontcustom-1.3.3 lib/fontcustom.rb
fontcustom-1.3.2 lib/fontcustom.rb
fontcustom-1.3.1 lib/fontcustom.rb
fontcustom-1.3.0 lib/fontcustom.rb
fontcustom-1.3.0.beta4 lib/fontcustom.rb