Skip to content

Commit d55ca7c

Browse files
committed
Adds --require switch to allow user specific config
This will allow people to configure bundler, sass plugins, special configurations, etc. refs: zmoazeni#54
1 parent f0008a8 commit d55ca7c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## (Unreleased) ##
2+
3+
* Adds --require switch for user configuration
4+
15
## 1.2.0 - 4/14/2013 ##
26

37
* 0 and 0px are now reconciled as redundancies

lib/csscss/cli.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ def parse(argv)
101101
enable_compass(config)
102102
end
103103

104+
opts.on("--require file.rb", "Load ruby file before running csscss.", "Great for bootstrapping requires/configurations") do |file|
105+
load file
106+
end
107+
104108
opts.on("--[no-]match-shorthand", "Expands shorthand rules and matches on explicit rules (default is true)") do |match_shorthand|
105109
@match_shorthand = match_shorthand
106110
end

0 commit comments

Comments
 (0)