module Compass::Commands::CompileProjectOptionsParser
Public Instance Methods
set_options(opts)
click to toggle source
Calls superclass method
# File lib/compass/commands/update_project.rb, line 7 def set_options(opts) opts.banner = %Q{ Usage: compass compile [path/to/project] [path/to/project/src/file.sass ...] [options] Description: compile project at the path specified or the current directory if not specified. Options: }.split("\n").map{|l| l.gsub(/^ */,'')}.join("\n") opts.on("--[no-]sourcemap", "Generate a sourcemap during compilation.") do |sm| self.options[:sourcemap] = sm end opts.on("--time", "Display compilation times.") do self.options[:time] = true end opts.on("--debug-info", "Turns on sass's debuging information") do self.options[:debug_info]= true end opts.on("--no-debug-info", "Turns off sass's debuging information") do self.options[:debug_info]= false end super end