From b601fb8d04bceb5e6cec8ee330b3bb70d431a5a8 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 30 Oct 2010 17:55:30 -0700 Subject: [PATCH] Pass --no-line-comments to disable line comments. --- doc-src/content/CHANGELOG.markdown | 1 + lib/compass/exec/project_options_parser.rb | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/doc-src/content/CHANGELOG.markdown b/doc-src/content/CHANGELOG.markdown index b6b42ae1..176fb745 100644 --- a/doc-src/content/CHANGELOG.markdown +++ b/doc-src/content/CHANGELOG.markdown @@ -13,6 +13,7 @@ COMPASS CHANGELOG for that property for the current project * Bug fix: In webkit, when the last gradient color stop was a percent less than 100%, the intermediate values were being scaled to that value. +* You can now pass --no-line-comments to the Compass command line to disable line comments. 0.10.6 (10/11/2010) ------------------- diff --git a/lib/compass/exec/project_options_parser.rb b/lib/compass/exec/project_options_parser.rb index 571e200e..e7fbfc54 100644 --- a/lib/compass/exec/project_options_parser.rb +++ b/lib/compass/exec/project_options_parser.rb @@ -49,6 +49,10 @@ module Compass::Exec::ProjectOptionsParser opts.on('--relative-assets', :NONE, 'Make compass asset helpers generate relative urls to assets.') do self.options[:relative_assets] = true end + + opts.on('--no-line-comments', :NONE, 'Disable line comments.') do + self.options[:line_comments] = false + end end end