lib/fontcustom.rb in fontcustom-1.3.0.beta3 vs lib/fontcustom.rb in fontcustom-1.3.0.beta4
- old
+ new
@@ -15,25 +15,21 @@
##
# Hack to get Thor to show more helpful defaults in `fontcustom help`. These
# are overwritten in Fontcustom::Options.
EXAMPLE_OPTIONS = {
- :project_root => "`pwd`",
- :output => "PROJECT_ROOT/FONT_NAME",
- :config => "PROJECT_ROOT/fontcustom.yml -or- PROJECT_ROOT/config/fontcustom.yml",
- :templates => "css preview",
- :manifest => "CONFIG_DIR/.fontcustom-manifest.json -or- PROJECT_ROOT/.fontcustom-manifest.json"
+ :output => "./FONT_NAME",
+ :config => "./fontcustom.yml -or- ./config/fontcustom.yml",
+ :templates => "css preview"
}
DEFAULT_OPTIONS = {
- :project_root => nil,
:input => nil,
:output => nil,
:config => nil,
:templates => %w|css preview|,
:font_name => "fontcustom",
:css_selector => ".icon-{{glyph}}",
- :manifest => nil,
:preprocessor_path => nil,
:autowidth => false,
:no_hash => false,
:debug => false,
:force => false,