mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Compass config
This commit is contained in:
parent
85768baf9f
commit
721f156425
3 changed files with 23 additions and 16 deletions
2
Gemfile
2
Gemfile
|
@ -12,5 +12,7 @@ group :test do
|
||||||
end
|
end
|
||||||
|
|
||||||
group :development do
|
group :development do
|
||||||
|
gem 'sprockets-sass'
|
||||||
gem 'compass'
|
gem 'compass'
|
||||||
|
gem 'shotgun'
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
require 'sinatra/base'
|
require 'sinatra/base'
|
||||||
require 'slim'
|
require 'slim'
|
||||||
require 'sprockets'
|
require 'sprockets'
|
||||||
|
require 'sprockets-sass'
|
||||||
|
require 'sass'
|
||||||
require 'compass'
|
require 'compass'
|
||||||
require 'sidekiq/paginator'
|
require 'sidekiq/paginator'
|
||||||
|
|
||||||
|
@ -18,27 +20,29 @@ module Sidekiq
|
||||||
@environment.append_path 'assets/stylesheets/vendor'
|
@environment.append_path 'assets/stylesheets/vendor'
|
||||||
@environment.append_path 'assets/images'
|
@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 = 'images'
|
||||||
config.images_dir = 'assets/images'
|
config.sass_dir = 'stylesheets'
|
||||||
config.sass_dir = 'assets/stylesheets'
|
config.css_dir = 'stylesheets'
|
||||||
config.css_dir = 'assets/stylesheets'
|
config.javascripts_dir = 'javascripts'
|
||||||
config.javascripts_dir = 'assets/javascripts'
|
config.fonts_dir = 'stylesheets/fonts'
|
||||||
config.fonts_dir = 'assets/stylesheets/fonts'
|
|
||||||
|
|
||||||
# You can select your preferred output style here (can be overridden via the command line):
|
config.http_images_path = '/assets'
|
||||||
output_style = :compressed
|
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:
|
# You can select your preferred output style here (can be overridden via the command line):
|
||||||
relative_assets = true
|
output_style = :compressed
|
||||||
|
|
||||||
# To disable debugging comments that display the original location of your selectors. Uncomment:
|
# To enable relative paths to assets via compass helper functions. Uncomment:
|
||||||
line_comments = false
|
relative_assets = true
|
||||||
end
|
|
||||||
|
# To disable debugging comments that display the original location of your selectors. Uncomment:
|
||||||
|
line_comments = false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,4 +16,5 @@ gem 'capistrano'
|
||||||
# sidekiq-web dependencies
|
# sidekiq-web dependencies
|
||||||
gem 'slim'
|
gem 'slim'
|
||||||
gem 'sinatra'
|
gem 'sinatra'
|
||||||
|
gem 'compass'
|
||||||
gem 'sprockets'
|
gem 'sprockets'
|
||||||
|
|
Loading…
Add table
Reference in a new issue