Skip to content

Commit

Permalink
[Command Line] Allow the images and javascripts directories to be set…
Browse files Browse the repository at this point in the history
… via the command line.
  • Loading branch information
chriseppstein committed Jun 28, 2009
1 parent be5d403 commit 84aec05
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/compass/exec.rb
Expand Up @@ -117,6 +117,14 @@ def set_opts(opts)
self.options[:css_dir] = css_dir
end

opts.on('--images-dir IMAGES_DIR', "The directory where you keep your images.") do |images_dir|
self.options[:images_dir] = images_dir
end

opts.on('--javascripts-dir JAVASCRIPTS_DIR', "The directory where you keep your javascripts.") do |javascripts_dir|
self.options[:javascripts_dir] = javascripts_dir
end

opts.on('--list-frameworks', "List compass frameworks available to use.") do
self.options[:command] = :list_frameworks
end
Expand Down

0 comments on commit 84aec05

Please sign in to comment.