Rakefile in brighter_planet_layout-0.3.10 vs Rakefile in brighter_planet_layout-0.3.11

- old
+ new

@@ -27,10 +27,10 @@ missing = %w{ AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY SSL_CERT_DIR S3SYNC_DIR }.select { |i| ENV[i].to_s.empty? } raise "get #{missing.join(', ')} from Seamus" unless missing.empty? $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib')) require 'brighter_planet_layout' ENV['S3SYNC_NATIVE_CHARSET'] = 'UTF-8' - cmd = %{ruby #{ENV['S3SYNC_DIR']}/s3sync.rb #{'--dryrun ' unless ENV['REAL'] == 'true'}--exclude="\\.psd|\\.ai|DejaVu|Kievit|html|xml|json|\\.ico" -v -r --ssl --public-read #{BrighterPlanetLayout.public_path}/ #{BrighterPlanetLayout::S3_BUCKET}:#{BrighterPlanetLayout::VERSION}/} + cmd = %{ruby #{ENV['S3SYNC_DIR']}/s3sync.rb #{'--dryrun ' unless ENV['REAL'] == 'true'}--exclude="\\.psd|\\.ai|DejaVu|Kievit|html|xml|json|\\.ico" -v -r --ssl --public-read #{BrighterPlanet.layout.public_path}/ #{BrighterPlanet::Layout::S3_BUCKET}:#{BrighterPlanet::Layout::VERSION}/} if ENV['REAL'] == 'true' $stderr.puts "Really updating" else $stderr.puts "Dry run... set REAL=true if you want to update for real" end