apache_conf 罗盘配置样板

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apache_conf 罗盘配置样板相关的知识,希望对你有一定的参考价值。


# Note that while this file is in our config folder, it is
# symlinked to our site folders, so paths are relative from there
# Require gems and Compass plugins

# General
output_style = :compressed
relative_assets = true
project_path = File.dirname(__FILE__) + '/'
# add_import_path project_path + '../all/public/assets/styles/src/'
# lib_dir = project_path + '../../system/lib/'

# Sass Paths
http_path = '/'
http_stylesheets_path = http_path + 'styles'
http_images_path = http_path + 'images'

# Sass Directories
css_dir = 'css'
sass_dir = 'scss'
images_dir = '../images'
fonts_dir = 'scss/frameworks/fontawesome/fonts'

# Quantize 8-bit sprites
# on_sprite_saved do |file|
#   unless is_32bit?(file)
#     quantize(file, lib_dir + 'pngquant/pngquant-mac')
#   end
#   optimize(file, 'ImageOptim')
# end

# Enable Debugging (Line Comments, FireSass)
# Invoke from command line: compass watch -e development --force
if environment == :development
  line_comments = true
  sass_options = { :debug_info => true }
end

# Methods
# def is_32bit?(file)
#   File.basename(file).match(/^png(24|32)/)
# end

# def quantize(file, binary)
#   png8_file = file.sub(/\.png/, '-fs8.png')
#   system binary + ' ' + file
#   sleep 2
#   system 'mv -f ' + png8_file + ' ' + file
#   growl('Sprite: ' + File.basename(file) + ' quantized')
# end

# def optimize(file, image_app)
#   system 'open -a ' + image_app + '.app ' + file
#   growl('Sprite: ' + File.basename(file) + ' optimized')
# end

# def growl(msg)
#   GNTP.notify({
#     :title    => "Compass",
#     :text     => msg,
#     :icon     => "file://#{CompassGrowl::ICON}"
#   })
# end

以上是关于apache_conf 罗盘配置样板的主要内容,如果未能解决你的问题,请参考以下文章

apache_conf .htaccess样板包括expire头,mod pagespeed,缓存控件头,Gzip,Deflate #htaccess #seo

apache_conf .htaccess样板包括expire头,mod pagespeed,缓存控件头,Gzip,Deflate #htaccess #seo

ruby 图像罗盘配置

我的嵌入式Qt开发第一课——基于BBB和hmc5843三轴电子罗盘

apache_conf [vscode] vscode配置文件#配置

apache_conf phpMyAdmin配置存储未完全配置