summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerman M. Bravo <german.mb@deipi.com>2012-01-09 18:14:16 -0600
committerGerman M. Bravo <german.mb@deipi.com>2012-01-09 18:14:16 -0600
commita5cfacc4769ee6a85cf5e6285f3ff6743c74e791 (patch)
tree601a7be45c75de220d4debbbb9bb34ffcd802736
parent0d5c056caa1cacebea7402f6ad3b48dbe9ce8f28 (diff)
downloadpyscss-a5cfacc4769ee6a85cf5e6285f3ff6743c74e791.tar.gz
Added --debug-info command option
-rw-r--r--CHANGELOG4
-rw-r--r--README.rst7
-rw-r--r--scss/__init__.py11
3 files changed, 19 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index a188361..f7ca469 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,9 @@
Changelog
=========
+1.1.4 ???
+ + Added ``--debug-info`` command line option
+
1.1.3 Jan 9, 2012
+ Support for the new Sass 3.2.0 features (@content and placeholder selectors)
+ Fixed bug with line numbers throwing an exception.
@@ -29,4 +32,3 @@ Changelog
1.0.8 - May 13, 2011
+ Changed source color ($src-color) default to black.
+ Moved the module filename to __init__.py and module renamed back to scss.
-
diff --git a/README.rst b/README.rst
index d5a5be3..12a6972 100644
--- a/README.rst
+++ b/README.rst
@@ -5,6 +5,8 @@ pyScss, a Scss compiler for Python
About
=====
+.. include:: <DESCRIPTION>
+
pyScss compiles Scss (Sass), a superset of CSS that is more powerful, elegant
and easier to maintain than plain-vanilla CSS. The library acts as a CSS source
code preprocesor which allows you to use variables, nested rules, mixins, and
@@ -269,15 +271,20 @@ If you have any suggestions, bug reports or annoyances please report them to the
issue tracker at http://github.com/Kronuz/pyScss/issues
+.. include:: <CHANGELOG>
+
+
Contributing
============
Development of pyScss happens at github: https://github.com/Kronuz/pyScss
+
License
=======
MIT License. See *LICENSE* for details.
http://www.opensource.org/licenses/mit-license.php
+
Copyright
=========
Copyright (c) 2012 German M. Bravo (Kronuz)
diff --git a/scss/__init__.py b/scss/__init__.py
index 2a69fca..ad4db11 100644
--- a/scss/__init__.py
+++ b/scss/__init__.py
@@ -5158,6 +5158,11 @@ def main():
help="Write output to PATH (a directory if using watch, a file otherwise)")
parser.add_option("--time", action="store_true",
help="Display compliation times")
+ parser.add_option("--debug-info", action="store_true",
+ help="Turns on scss's debuging information")
+ parser.add_option("--no-debug-info", action="store_false",
+ dest="debug_info", default=False,
+ help="Turns off scss's debuging information")
parser.add_option("-t", "--test", action="store_true", help=SUPPRESS_HELP)
parser.add_option("-C", "--no-compress", action="store_false",
dest="compress", default=True,
@@ -5342,7 +5347,8 @@ def main():
def __init__(self, *args, **kwargs):
super(ScssEventHandler, self).__init__(*args, **kwargs)
self.css = Scss(scss_opts={
- 'compress': options.compress
+ 'compress': options.compress,
+ 'debug_info': options.debug_info,
})
self.output = options.output
@@ -5406,7 +5412,8 @@ def main():
output = sys.stdout
css = Scss(scss_opts={
- 'compress': options.compress
+ 'compress': options.compress,
+ 'debug_info': options.debug_info,
})
if args:
for path in args: