compress css

This commit is contained in:
2015-10-04 12:13:28 +02:00
parent 99887bf367
commit af3ecfdf79
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ namespace :deploy do
run_locally { execute "rsync -av --delete ./public/assets/ #{fetch(:user)}@#{rsync_host}:#{shared_path}/public/assets/" }
execute :chown, "-R www-data:www-data", shared_path.join('public/assets/')
run_locally { execute 'rm -rf public/assets' }
#run_locally { execute 'rm -rf public/assets' }
end
end
+2 -1
View File
@@ -22,6 +22,7 @@ Qwaiter::Application.configure do
# Compress JavaScripts and CSS
# config.assets.compress = true #DEPRICATED
config.assets.js_compressor = :uglifier
config.assets.css_compressor = :sass
config.ember.variant = :production if defined?(Ember::Rails)
@@ -29,7 +30,7 @@ Qwaiter::Application.configure do
# Generate digests for assets URLs
config.assets.digest = true
# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = true
config.assets.compile = false
# Defaults to nil and saved in location specified by config.assets.prefix
# config.assets.manifest = YOUR_PATH