Chris Eppstein
0a232bd922
[Compiler] Rewrite of the watch command that adds the following improvements:
...
1. For robustness, recompile is now based on comparison of corresponding css/sass file timestamps.
2. If a sass file is removed, the corresponding css file is automatically deleted.
3. CSS files will be automatically recompiled if removed. It is no longer necessary to resave the sass file.
4. First time compile is not performed if not necessary.
2009-06-27 18:45:34 -07:00
Chris Eppstein
15ebbfef30
Print a message when updating a project that has no files. They probably meant to install but forgot the directory argument. Closes #2 .
2009-06-27 18:28:26 -07:00
Chris Eppstein
802bca6174
[Configuration] Allow additional sass options to be specified in the compass configuration using the sass_options property.
2009-06-27 13:05:30 -07:00
Chris Eppstein
047be06a0a
[Configuration] Allow additional import paths to be declared within the compass configuration.
2009-06-27 12:15:28 -07:00
Chris Eppstein
ef47f3dd9d
[Sass Extensions] Allow the asset host and cache busting strategies to be defined as part of the compass configuration. Closes #20 .
2009-06-26 12:23:43 -07:00
Chris Eppstein
6348ea3e67
[Compass Internals] Don't emit a stylesheet link to partials when printing the installation results.
2009-06-21 02:24:39 -07:00
Chris Eppstein
27b821617a
[Compass Core] +reset-display mixin and Sass Extensions for appending selectors and enumerating the elements for a given display type.
2009-06-20 18:06:47 -07:00
Enrico Bianco
77f6e02c0e
[Blueprint] Upgrade to 0.9: Make IE conditional comments more configurable in project manifests
2009-06-20 15:52:36 -07:00
Chris Eppstein
4e7e51e2c5
[Rails] Require compass during plugin loading to avoid the wrong version of haml getting loaded first.
2009-06-20 15:10:00 -07:00
Chris Eppstein
8c9ebce494
[Rails] Don't unpack gems using sudo in the rails template.
2009-06-20 15:09:04 -07:00
Chris Eppstein
9170cac954
[Rails] Removed the compass logo from the installer.
2009-06-20 15:08:17 -07:00
Chris Eppstein
a6d9cd64c1
[Rails] Move the new rails compass installer under lib/compass/app_integration/rails.
2009-06-20 13:58:31 -07:00
Chris Eppstein
998168160b
[Rails] image_url() now integrates with the rails asset handling code when stylesheets are generated within the rails container.
...
This causes your rails configuration for cache busting and asset hosts
to be picked up when generating your stylesheets. Unfortunately, all
that code runs within the context of a controller, so the stylesheets
have to be generated during first request to use this functionality.
2009-06-20 12:29:31 -07:00
Chris Eppstein
732b885897
[Command Line] Missing an equals sign for conditional assignment.
2009-06-20 12:29:30 -07:00
Chris Eppstein
2b3b781c33
[Examples] Refactor the module and file loading for Sass Extensions and application integration. Fixed broken unit tests.
2009-06-20 12:29:14 -07:00
Chris Eppstein
f1832d07ab
[Compass Core] The image_url() sass function now adds timestamp invalidation to images to prevent them from being cached after changing.
2009-06-20 12:28:45 -07:00
Chris Eppstein
9f46524bde
Fixed a bug that caused the current revision to not be set from the REVISION file.
2009-06-20 12:28:27 -07:00
Chris Eppstein
e37b3b4d24
Extracted the CSS Validator to a separate gem to keep the compass gem size small.
2009-06-05 10:02:47 -07:00
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