Implement `mkdir' task action

This commit is contained in:
Thibault Jouan committed 2014-01-21 15:50:07 +00:00
1 parent f147ce7d65
commit 7f5d1a4085
9 files changed
+75 -1

No files matched your search

+4
View File
@@ -26,6 +26,10 @@ module Producer
false
end
def mkdir(path)
sftp.mkdir! path
end
def file_write(path, content)
sftp.file.open path, 'w' do |f|
f.write content