This commit is contained in:
Tom Vaughan 2012-08-22 16:17:46 -07:00
parent 4a58ff146a
commit c19f049a63

View file

@ -33,7 +33,7 @@ module Middleman
# These only exists when the config.rb sets them! # These only exists when the config.rb sets them!
if (!host || !user || !path) if (!host || !user || !path)
raise Thor::Error.new "You need to activate the deploy extension in config.rb " raise Thor::Error.new "You need to activate the deploy extension in config.rb"
end end
command = "rsync -avze '" + "ssh -p #{port}" + "' build/ #{user}@#{host}:#{path}" command = "rsync -avze '" + "ssh -p #{port}" + "' build/ #{user}@#{host}:#{path}"
@ -45,7 +45,7 @@ module Middleman
end end
if clean if clean
command += "--delete" command += " --delete"
end end
run command run command