Commit Graph

715 Commits

Author SHA1 Message Date
Chris Eppstein
79ee96dcf4 Polish the table scaffolding mixin and add the table borders mixins. 2009-02-21 00:15:24 -08:00
Tim Riley
77e19e512b move the CSS rules extracted from alternating-rows-and-columns into a table-scaffolding mixin. 2009-02-21 00:15:24 -08:00
Tim Riley
3d340b6972 remove any non-colour related CSS from the alternating-rows-and-columns mixin. this mixin works best when it _only_ affects your table's background colours. 2009-02-21 00:15:24 -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
e15edbe4d5 Fixes for RunCodeRun tests. 2009-02-13 00:03:51 -08:00
Chris Eppstein
f5c0edf710 Bump version to 0.4.2. 2009-02-12 23:49:03 -08:00
Chris Eppstein
3f0e16b261 Updated Manifest and gemspec. 2009-02-12 23:32:49 -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
e865d91dd2 Bump version for patch release. 2009-02-08 13:09:49 -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
d0a9e0bcab Version is now 0.4.0.
This release is a major rewrite of the compass command line utility. It
is much more flexible and will better support other project types with
varying project structures.

There is a new configuration file format that allows you to specify
the sass, css, image and javascript locations for your project when
using compass in a stand-alone (or unsupported project) format.

Compass frameworks and plugins must now provide a manifest that
specifies what files and file types exist in the project template. This
paves the way for other types of templates as the same installation
framework that creates a project can now be used to install other
things.

The compass command line has better help text and more informative
output in general.
2009-02-08 03:47:59 -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
Chris Eppstein
3adf6a6435 Extract a project compiler class from the update_project command. 2009-02-08 03:46:46 -08:00
Chris Eppstein
6c4759278e Don't return a trailing slash from templatize or targetize. 2009-02-08 03:46:46 -08:00
Chris Eppstein
c0c422c373 Consolodate error classes. 2009-02-08 03:46:46 -08:00
Chris Eppstein
9e80847ac7 Remove unused method. 2009-02-08 03:46:46 -08:00
Chris Eppstein
8a0d2b900c Clean up the version parsing code. 2009-02-08 03:46:46 -08:00
Chris Eppstein
29666e177c DRY up the different types of installs. 2009-02-08 03:46:46 -08:00
Chris Eppstein
a0552a67c4 Modify the update command to use the Actions module and Logger. Moved the compile action to the Actions module. 2009-02-08 03:46:46 -08:00
Chris Eppstein
dbc262fbe1 Factored out an Actions module for doing the filesystem actions like copying, making directories, etc. 2009-02-08 03:46:46 -08:00
Chris Eppstein
98a2f0538b Use the Compass.configuration singleton for updates. 2009-02-08 03:46:46 -08:00
Chris Eppstein
a7406659b6 New Ruby on Rails project installer. 2009-02-08 03:46:46 -08:00
Chris Eppstein
94f4471ad5 Better followup messages after installation. 2009-02-08 03:45:48 -08:00
Chris Eppstein
1da3b3ae9b Add a to method to Manifest::Entry to centralize the logic. 2009-02-08 03:45:48 -08:00
Chris Eppstein
d2a3046526 Make the Configuration class a singleton + added some access helpers to
the Compass module.
2009-02-08 03:45:48 -08:00
Chris Eppstein
91e081cd50 New project creation implemented using manifests and installation strategies. 2009-02-08 03:45:48 -08:00
Chris Eppstein
0ac537a81b Added a framework accessor for the current framework. 2009-02-08 03:45:48 -08:00
Chris Eppstein
61de5ae125 New base class for Compass Errors. 2009-02-08 03:45:48 -08:00
Chris Eppstein
59e626fe8b Factored out a Configuration object to parse stand-alone project configuration files. 2009-02-08 03:45:47 -08:00
Chris Eppstein
845fa14e71 Factored out a logger for the command line to tell the user what is happening. 2009-02-08 03:45:47 -08:00
Chris Eppstein
e8d249fa38 Better comments/instructions on the compass project stylesheets. 2009-02-08 03:45:47 -08:00
Chris Eppstein
359be7e46e Added an import to the install_rails command line command. Bumped the version up to 0.3.9 2009-02-06 10:57:08 -08:00
Chris Eppstein
ab149f895e Bump version. 2009-01-25 22:45:36 -08:00
Chris Eppstein
f316dd013e Centralize all the framework specific code into the frameworks directory. 2009-01-25 15:05:36 -08:00
Chris Eppstein
1e5502159b Refactor the Compass commands to centralize and cleanup the project commands. 2009-01-25 14:27:08 -08:00
Chris Eppstein
911041f355 Give a better error message to users with an unsupported version of haml installed. 2009-01-25 11:28:11 -08:00
Chris Eppstein
c8e07b4228 Make the compass watch command a little more understandable for first time users and handle Interrupt more gracefully. 2009-01-24 14:35:17 -08:00
Chris Eppstein
8fc0c48dd5 Unit test for the compass rails installer. 2009-01-19 11:04:25 -08:00
Chris Eppstein
a9aa79d9a7 Support for testing the compass command line when it expects stdin responses. 2009-01-19 11:02:51 -08:00
Chris Eppstein
d5b711170c First pass at testing the command line tool. 2009-01-19 07:53:51 -08:00
Chris Eppstein
ff2a54af53 Changes to make the command-line tool more testable. 2009-01-19 07:52:39 -08:00
Chris Eppstein
5fce487ba8 Don't reference ARGV in the exec module. This makes testing easier. 2009-01-18 17:41:20 -08:00
Chris Eppstein
becda48b83 Allow passing a path to the rails project instead of requiring the user to change into the rails project directory first. 2009-01-18 17:04:20 -08:00
Chris Eppstein
f903da3434 Indifferent access (symbol, string) for Compass::Frameworks[] 2009-01-18 12:25:16 -08:00
Chris Eppstein
6be55d55e5 Remove obsolete code in the test helper. 2009-01-13 08:08:27 -08:00