Replaces system call with cross-platform cp_r, fixes #200
This commit is contained in:
parent
1772a8af8f
commit
82942bd088
2
Rakefile
2
Rakefile
@ -230,7 +230,7 @@ multitask :push do
|
|||||||
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
|
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
|
||||||
Rake::Task[:copydot].invoke(public_dir, deploy_dir)
|
Rake::Task[:copydot].invoke(public_dir, deploy_dir)
|
||||||
puts "\n## copying #{public_dir} to #{deploy_dir}"
|
puts "\n## copying #{public_dir} to #{deploy_dir}"
|
||||||
system "cp -R #{public_dir}/* #{deploy_dir}"
|
cp_r "#{public_dir}/*", deploy_dir
|
||||||
cd "#{deploy_dir}" do
|
cd "#{deploy_dir}" do
|
||||||
system "git add ."
|
system "git add ."
|
||||||
system "git add -u"
|
system "git add -u"
|
||||||
|
Loading…
Reference in New Issue
Block a user