Chris Eppstein
7a3bc728f1
Proper version tracking that is compatible with jeweler.
2009-05-23 23:30:49 -07:00
Chris Eppstein
7b90aef5d4
[Rails] Don't set the output style in the compass.config file for rails projects. It will default according to the runtime environment. Closes GH-4.
2009-05-23 09:57:50 -07:00
Chris Eppstein
fcdaf41dbc
[Command Line] Store sass cache files in the sass directory of the project. Closes GH-8.
2009-05-23 09:57:41 -07:00
Chris Eppstein
3921465e95
Don't unecessarily set the output style in the Compass TestCase.
2009-05-08 08:09:43 -07:00
Chris Eppstein
36992e0173
Remove some unecessary code.
2009-05-08 08:09:43 -07:00
Chris Eppstein
b2c403711b
Return arguments from the configuration suitable for passing to the compass compiler.
2009-05-08 08:09:43 -07:00
Chris Eppstein
22b61e13a9
Added a NullLogger class that can be used to silence the compiler output via the :logger option.
2009-05-07 20:08:19 -07:00
Chris Eppstein
2c7eede9fb
Factor out the css_path and sass_path methods for accessing the full path to respective compass project directories.
2009-05-07 20:05:51 -07:00
Chris Eppstein
70086c880b
Fall back to normal loading if the haml-edge gem isn't found.
2009-05-07 10:24:32 -07:00
Sean Schofield
84f657027a
Compass now depends on the haml-edge gem instead of haml.
2009-05-06 20:14:31 -04:00
Chris Eppstein
c40566c93b
[Command Line] The --force option will now force recompilation. Useful when the stylesheets don't appear to need a recompile.
2009-05-02 15:18:26 -07:00
Chris Eppstein
ddfba8ec83
[Command Line] Fixed bug that caused the --write-configuration option to break.
2009-05-02 15:13:54 -07:00
Chris Eppstein
8aee42e5a1
[Compass Core] The image_url sass function now handles absolute urls correctly.
2009-04-29 08:26:27 -07:00
Chris Eppstein
6409be1646
[Command line] Make sure that compass frameworks required on the command-line will appear in the initial project configuration.
2009-04-29 08:19:35 -07:00
Chris Eppstein
e6b7774774
[Command line] Add a command line option that prints out where compass is installed.
2009-04-25 11:57:18 -07:00
Chris Eppstein
4a2b4c538e
A more sensible order of command line options.
2009-04-25 10:48:38 -07:00
Chris Eppstein
531c90a1a4
[Command Line] Respect the -q (quiet) option during compilation. Set the quiet option when watching a project for changes.
2009-04-22 12:50:18 -07:00
Chris Eppstein
be594d2b1f
[Command Line] Don't recompile sass files that haven't changed (taking import dependencies into account).
2009-04-22 12:48:00 -07:00
Chris Eppstein
cc1b603263
[Rails] Bug fix: The http_images_path configuration default should be "/images" instead of "/public/images".
2009-04-21 10:07:48 -07:00
Erik Bryn
2c89b21f82
Conditionally defining #blank? on String/NilClass
...
Signed-off-by: Chris Eppstein <chris@eppsteins.net>
2009-04-19 09:44:11 -07:00
Lee Nussbaum
d5f44081ef
Set compass environment in plugin based on RAILS_ENV (currently used to set line_comments option).
...
Fix line_comments option for plugin.
Signed-off-by: Chris Eppstein <chris@eppsteins.net>
2009-04-19 09:43:58 -07:00
Chris Eppstein
cb2b5c0891
Slightly better followup message for rails projects installing patterns.
2009-04-07 00:22:22 -07:00
Chris Eppstein
ab42e46906
Update the copyright.
2009-04-07 00:22:22 -07:00
Chris Eppstein
559b981015
All commands must implement execute now.
2009-04-07 00:22:22 -07:00
Chris Eppstein
591bd882bf
There were far too many things trying to be in charge of setting configuration. Now there are less.
2009-04-07 00:22:21 -07:00
Chris Eppstein
a56fe74dbb
Fix a bug for the cases where http_images_path ends in a slash.
2009-04-06 00:35:47 -07:00
Chris Eppstein
ff14940206
Use a deterministic order for setting configuration defaults.
2009-04-06 00:35:19 -07:00
Chris Eppstein
6c0a301d91
centralize the config setup and parsing for commands.
2009-04-06 00:34:27 -07:00
Chris Eppstein
c36f63fd92
Incorporate Blueprint 0.8 grid changes, make the generated grid more closely match Blueprint's by adding an enumerate(prefix, startindex, endindex) sass function that generates a list of enumerated selectors.
2009-04-06 00:00:44 -07:00
Chris Eppstein
ae4daa2572
Better rails boot sequence for compass that is both rails and compass command line friendly.
2009-04-05 03:50:41 -07:00
Chris Eppstein
bed5fe3458
Added a new Sass function called image_url() that can be used instead of url() to link to an image relative to the images directory according to the compass project configuration.
2009-04-05 03:13:42 -07:00
Chris Eppstein
bb197d849b
Strip some trailing whitespace.
2009-04-03 12:09:45 -07:00
Chris Eppstein
e18ed8118b
Support for Framework Patterns.
...
A pattern is a folder in the framework's templates directory. It must
have a manifest file that tells compass what to install and where.
Unlike the project template, a pattern can be stamped out any number of
times.
It is best for pattern stylesheets to only provide example usage to get
the user started. All the core styles for the pattern should be
distributed as part of the framework's stylesheets as mixins to
facilitate easy upgrades and bug fixing on the part of the pattern's
maintainer.
Patterns can install stylesheets, images, javascripts, and arbitrary
files. The installer will put these assets into the correct locations
according to the project type (E.g. rails, stand-alone).
Example Usage:
compass --framework blueprint --pattern buttons
2009-04-03 01:06:23 -07:00
Chris Eppstein
43fc3be14b
Generate a grid background image with the --grid-img command line option.
2009-04-02 21:27:55 -07:00
Chris Eppstein
63de13debd
Validate your project's CSS files by running compass --validate.
2009-04-01 21:24:02 -07:00
Chris Eppstein
a8b36a6441
Remove a puts used for debugging.
2009-04-01 18:03:29 -07:00
Chris Eppstein
1991f729f0
Fixes to make the environment setting work correctly with configuration files and to correctly pass the :line_comments option to Sass::Engine.
2009-04-01 17:24:36 -07:00
Chris Eppstein
356f134621
Added a configuration helper method to access the compass load paths suitable for passing to the Sass option :load_paths
2009-03-16 20:08:38 -07:00
Thomas Reynolds
48b705943e
fix --output-style to actually work
2009-03-12 11:50:37 -07:00
Chris Eppstein
28473d5293
Fixed bug in the watch_project command.
2009-02-25 09:43:39 -08:00
Chris Eppstein
e14f6968f1
Allow rails installs to proceed without requiring input if the css-dir and sass-dir options are set on the command line.
2009-02-21 00:27:48 -08:00
Chris Eppstein
43ee4e1c98
Added a new command line option to emit and update the stand-alone configuration file.
2009-02-21 00:15:24 -08:00
Chris Eppstein
95fd94428a
Refactored the Configuration Singleton and the UpdateProject command so that it now relies more heavily on the configuration object.
2009-02-21 00:15:19 -08:00
Chris Eppstein
a8f6648a64
Give a better error when a framework is misspelled.
2009-02-20 17:07:56 -08:00
Chris Eppstein
7f63fe7a29
Clean up some of the command line documentation.
2009-02-20 14:39:01 -08:00
Chris Eppstein
ccf0dfa19a
Rename the --source and --target command line options to --sass-dir and --css-dir respectively to match the configuration file syntax.
2009-02-20 14:38:33 -08:00
Chris Eppstein
39a4b48b5e
Fixed a bug in the configuration parser.
...
Added Compass#sass_engine_options method to emit sass options suitable
for passing to Sass::Engine#new.
Added require tracking in the configuration parser and serializer.
2009-02-12 23:19:32 -08:00
Chris Eppstein
c391ce09c0
Import the configuration module by default and not just for installation.
2009-02-08 13:09:29 -08:00
Chris Eppstein
10e6808648
Detect identical files when writing files during install, compile, etc. Also centralize the actions to use the write_file action as much as possible.
2009-02-08 03:46:47 -08:00
Chris Eppstein
0dfd60671f
Remove some unused methods.
2009-02-08 03:46:46 -08:00