1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Compass config

This commit is contained in:
Romain Dardour 2012-10-03 18:38:39 +02:00
parent 85768baf9f
commit 721f156425
3 changed files with 23 additions and 16 deletions

View file

@ -12,5 +12,7 @@ group :test do
end
group :development do
gem 'sprockets-sass'
gem 'compass'
gem 'shotgun'
end

View file

@ -1,6 +1,8 @@
require 'sinatra/base'
require 'slim'
require 'sprockets'
require 'sprockets-sass'
require 'sass'
require 'compass'
require 'sidekiq/paginator'
@ -18,27 +20,29 @@ module Sidekiq
@environment.append_path 'assets/stylesheets/vendor'
@environment.append_path 'assets/images'
configure do
Compass.configuration do |config|
Compass.configuration do |config|
config.project_path = @root
config.project_path = "#{@root}/assets"
config.sass_dir = 'views'
config.images_dir = 'assets/images'
config.sass_dir = 'assets/stylesheets'
config.css_dir = 'assets/stylesheets'
config.javascripts_dir = 'assets/javascripts'
config.fonts_dir = 'assets/stylesheets/fonts'
config.images_dir = 'images'
config.sass_dir = 'stylesheets'
config.css_dir = 'stylesheets'
config.javascripts_dir = 'javascripts'
config.fonts_dir = 'stylesheets/fonts'
# You can select your preferred output style here (can be overridden via the command line):
output_style = :compressed
config.http_images_path = '/assets'
config.http_generated_images_path = '/assets'
config.http_javascripts_path = '/assets'
config.http_stylesheets_path = '/assets'
# To enable relative paths to assets via compass helper functions. Uncomment:
relative_assets = true
# You can select your preferred output style here (can be overridden via the command line):
output_style = :compressed
# To disable debugging comments that display the original location of your selectors. Uncomment:
line_comments = false
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 = false
end

View file

@ -16,4 +16,5 @@ gem 'capistrano'
# sidekiq-web dependencies
gem 'slim'
gem 'sinatra'
gem 'compass'
gem 'sprockets'