Skip to content

Commit

Permalink
Removes --compass-with-config deprecation
Browse files Browse the repository at this point in the history
The config file that is passed in needs to run in the Compass context,
so it's not just a normal ruby load/require.

(Sorta) fixes #63
  • Loading branch information
zmoazeni committed Jun 22, 2013
1 parent 78013bf commit 0609a87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,7 @@
* Fixes parsing bug with empty media selectors #67
* Fixes parsing bug with quoted brackets #72
* Fixes parsing bug with nested media queries #73
* Removes --compass-with-config deprecation

## 1.3.1 - 4/20/2013 ##

Expand Down
5 changes: 1 addition & 4 deletions lib/csscss/cli.rb
Expand Up @@ -98,10 +98,7 @@ def parse(argv)
enable_compass if @compass = compass
end

opts.on("--compass-with-config config", "Enable compass extensions when parsing sass/scss and pass config file",
"DEPRECATED: use --compass --require path/to/config.rb instead."
) do |config|
deprecate("Use --compass --require #{config} instead of --compass-with-config #{config}")
opts.on("--compass-with-config config", "Enable compass extensions when parsing sass/scss and pass config file") do |config|
@compass = true
enable_compass(config)
end
Expand Down

0 comments on commit 0609a87

Please sign in to comment.