Commit Graph

50 Commits

Author SHA1 Message Date
Chris Eppstein
38e13e55e6 Removed deprecated command line options. 2010-12-10 11:32:26 -08:00
Chris Eppstein
ec648f17b0 Bug fix: make the path-based configuration really work right. 2010-08-25 08:41:03 -07:00
Chris Eppstein
3dd2a90dec [Command Line] [Windows] Disable colorized output if win32console cannot be loaded.
Closes GH-82
2010-02-13 17:45:01 -08:00
Chris Eppstein
38ff0b7929 Make ANSI color output work on windows. Closes GH-64. 2010-01-10 10:51:43 -08:00
Chris Eppstein
853e97f2e4 [Command Line] Ability to create a bare project with no stylesheets provided. 2009-10-22 09:46:54 -07:00
Chris Eppstein
0fc9a0e3c8 Subcommand UI for project creation and initialization. 2009-10-04 00:33:36 -07:00
Chris Eppstein
4cc569586b Restructure the existing command line code to allow for the new sub-command based CLI. 2009-09-29 18:35:24 -07:00
Chris Eppstein
b13fd43a2e Require relative to the load path instead of using the more convoluted approach of File.join(File.dirname(__FILE__), ...).
Also, don't ever muck with the load paths or rubygems without first
trying to require the library without doing so.
2009-09-02 21:45:08 -07:00
Chris Eppstein
54a459f28e Allow specification of a height for the grid image. 2009-09-01 20:20:53 -07:00
Chris Eppstein
cb45b6d438 Generalized application framework integration. There are three that ship with compass: Merb, Rails, and StandAlone.
All application specific behavior is now centralized within the app integration modules.
Plugins can now provide app integration using the --app command line option and by adding the appropriate classes to the compass module tree.
2009-09-01 20:20:23 -07:00
Chris Eppstein
379118cb1e Don't set the project type explicitly, instead default it to :stand_alone via the configuration object. 2009-08-29 13:20:32 -07:00
Chris Eppstein
956c437fe9 [Configuration] [Command Line] Whether to generate relative links to assets is now controlled by a separate configuration flag and can be set via a command-line switch. 2009-07-06 07:18:25 -07:00
Chris Eppstein
d2acd343b8 [Command Line] Allow the configuration file being read to be specified explicitly. This also affects the output location of the --write-configuration command. 2009-06-28 14:41:02 -07:00
Chris Eppstein
f742f26208 [Command Line] Cleanup of the command-line usage output to make things more digestable. 2009-06-28 14:38:36 -07:00
Chris Eppstein
84aec053d0 [Command Line] Allow the images and javascripts directories to be set via the command line. 2009-06-28 13:04:56 -07:00
Chris Eppstein
36992e0173 Remove some unecessary code. 2009-05-08 08:09:43 -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
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
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
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
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
Thomas Reynolds
48b705943e fix --output-style to actually work 2009-03-12 11:50:37 -07: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
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
c391ce09c0 Import the configuration module by default and not just for installation. 2009-02-08 13:09:29 -08:00
Chris Eppstein
c0c422c373 Consolodate error classes. 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
a7406659b6 New Ruby on Rails project installer. 2009-02-08 03:46:46 -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
1e5502159b Refactor the Compass commands to centralize and cleanup the project commands. 2009-01-25 14:27:08 -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
8b8ad95c15 Make framework plugins actually work. 2009-01-01 23:18:21 -08:00
Chris Eppstein
a54ccae040 Don't limit the legal framework values on the command line. 2009-01-01 23:14:24 -08:00
Chris Eppstein
e93051d239 Add a command to list available frameworks. 2009-01-01 23:11:52 -08:00
Chris Eppstein
9631a403e3 Allow the project source and target directories to be different by specifying --source and --target to any of the command line commands. 2008-12-21 22:07:32 -08:00
Chris Eppstein
31370e20d8 Fixed the --imports command-line option so that it generates useful output for being passed to sass. E.g.:
sass `compass --imports` some_file.sass
2008-12-02 15:48:22 -08:00
Chris Eppstein
3fe8f6a675 Added a compass command-line option to watch a project and automatically recompile when it changes. Use compass --watch. 2008-11-04 11:55:57 -08:00
Chris Eppstein
f62b5589a7 Command line option to emit the compass import paths suitable for use in a PATH variable. 2008-10-21 09:06:35 -07:00
Chris Eppstein
ca82bca962 rails installer for compass 2008-08-23 22:02:10 -07:00
Chris Eppstein
341979d937 cleanup command line processing of primary command 2008-08-23 17:18:45 -07:00
Chris Eppstein
88ed4591cc Initial Checkin of Compass. Used to be Blueprint-Sass. 2008-08-23 10:00:46 -07:00