lib/nanoc/tasks/deploy/rsync.rake in nanoc-3.7.4 vs lib/nanoc/tasks/deploy/rsync.rake in nanoc-3.7.5

- old
+ new

@@ -1,18 +1,16 @@ # encoding: utf-8 require 'nanoc/cli' namespace :deploy do - desc 'Upload the compiled site using rsync' task :rsync do dry_run = ENV['dry_run'] config_name = ENV['config'] || :default cmd = ['deploy', '-t', config_name] cmd << '-n' if dry_run Nanoc::CLI.run cmd end - end