Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor data manipulation to use ruby extension and refactor config …
…files
- Loading branch information
1 parent
31c5fbd
commit 8fa483b
Showing
7 changed files
with
71 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
# Require any additional compass plugins here. | ||
root_path = File.expand_path(File.join(File.dirname(__FILE__), "../../")) | ||
project_path = root_path | ||
css_path = File.join(root_path, "css/debug/") | ||
sass_path = File.join(root_path, "scss/") | ||
cache_path = File.join(root_path, "tmp/sass-cache") | ||
images_path = File.join(root_path, "img/") | ||
javascripts_path = File.join(root_path, "js/") | ||
config_file = File.expand_path('../base.rb', __FILE__) | ||
require config_file | ||
|
||
# You can select your preferred output style here (can be overridden via the command line): | ||
output_style = :debug | ||
Compass.configuration do |config| | ||
# Default settings that need to be overriden | ||
output_style = :debug | ||
css_path = File.join($root_path, "css/debug/") | ||
line_comments = true | ||
end | ||
|
||
# To enable relative paths to assets via compass helper functions. Uncomment: | ||
relative_assets = true | ||
|
||
# To disable debugging comments that display the original location of your selectors. Uncomment: | ||
line_comments = true | ||
|
||
# Control precision | ||
Sass::Script::Number.precision = 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,10 @@ | ||
# Require any additional compass plugins here. | ||
root_path = File.expand_path(File.join(File.dirname(__FILE__), "../../")) | ||
project_path = root_path | ||
css_path = File.join(root_path, "css/expanded/") | ||
sass_path = File.join(root_path, "scss/") | ||
cache_path = File.join(root_path, "tmp/sass-cache") | ||
images_path = File.join(root_path, "img/") | ||
javascripts_path = File.join(root_path, "js/") | ||
# Require the defaults | ||
config_file = File.expand_path('../base.rb', __FILE__) | ||
require config_file | ||
|
||
# You can select your preferred output style here (can be overridden via the command line): | ||
output_style = :expanded | ||
|
||
# To enable relative paths to assets via compass helper functions. Uncomment: | ||
relative_assets = true | ||
|
||
# To disable debugging comments that display the original location of your selectors. Uncomment: | ||
line_comments = false | ||
|
||
# Control precision | ||
Sass::Script::Number.precision = 8 | ||
|
||
Compass.configuration do |config| | ||
css_path = File.join($root_path, "css/expanded/") | ||
output_style = :expanded | ||
line_comments = false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,10 @@ | ||
# Require any additional compass plugins here. | ||
root_path = File.expand_path(File.join(File.dirname(__FILE__), "../../")) | ||
project_path = root_path | ||
css_path = File.join(root_path, "css/min/") | ||
sass_path = File.join(root_path, "scss/") | ||
cache_path = File.join(root_path, "tmp/sass-cache") | ||
images_path = File.join(root_path, "img/") | ||
javascripts_path = File.join(root_path, "js/") | ||
# Require the defaults | ||
config_file = File.expand_path('../base.rb', __FILE__) | ||
require config_file | ||
|
||
# You can select your preferred output style here (can be overridden via the command line): | ||
output_style = :compressed | ||
|
||
# To enable relative paths to assets via compass helper functions. Uncomment: | ||
relative_assets = true | ||
|
||
# To disable debugging comments that display the original location of your selectors. Uncomment: | ||
line_comments = false | ||
|
||
# Control precision | ||
Sass::Script::Number.precision = 8 | ||
|
||
Compass.configuration do |config| | ||
config.css_path = File.join($root_path, "css/min/") | ||
config.output_style = :compressed | ||
config.line_comments = false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters