Skip to content

Commit

Permalink
Add default values for whitelist/blacklist/accept files.
Browse files Browse the repository at this point in the history
While fixing the previous issue, I noticed that the help string for
whitelist/blacklist/accept mentions a default value, but there was no
default value set for these options.
  • Loading branch information
Greg Fairbanks committed Sep 26, 2013
1 parent b77a8d4 commit ea3d1ab
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions lib/sproutcore/tools/server.rb
Expand Up @@ -17,11 +17,17 @@ class Tools
:irb => false,
:filesystem => true

method_option :whitelist, :type => :string,
method_option :whitelist,
:type => :string,
:default => "Whitelist",
:desc => "The whitelist to use when building. By default, Whitelist (if present)"
method_option :blacklist, :type => :string,
method_option :blacklist,
:type => :string,
:default => "Blacklist",
:desc => "The blacklist to use when building. By default, Blacklist (if present)"
method_option :accept, :type => :string,
method_option :accept,
:type => :string,
:default => "Accept",
:desc => "The SproutCore Accept file to determine which files to include. By default, Accept (if present)"


Expand Down

0 comments on commit ea3d1ab

Please sign in to comment.