lib/asset_hat/tasks.rb in asset_hat-0.4.1 vs lib/asset_hat/tasks.rb in asset_hat-0.4.2
- old
+ new
@@ -2,10 +2,10 @@
require 'asset_hat/tasks/js'
namespace :asset_hat do
desc 'Minifies all CSS and JS bundles'
- task :minify, :needs => :environment do
+ task :minify => :environment do
format = ENV['FORMAT']
print 'Minifying CSS/JS...'
puts unless format == 'dot'
%w[css js].each do |type|