aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-08-28 20:29:23 -0700
committerBrandon Mathis <brandon@imathis.com>2011-08-28 20:29:23 -0700
commit5efd0fb08e2bd6c85a072bbc99749d19c1055126 (patch)
tree737b0e3b0999dafe7ca9778ce0f4ed202370e927 /Rakefile
parent9b52d40a54d4213502ab53ec8b0fec7ef863cb28 (diff)
parentaa095689e48be97f77b610ef73a13aee403f9d9c (diff)
downloadmy_new_personal_website-5efd0fb08e2bd6c85a072bbc99749d19c1055126.tar.xz
my_new_personal_website-5efd0fb08e2bd6c85a072bbc99749d19c1055126.zip
Merge pull request #123 from rtgibbons/master
rsync deploy broken (fix included)
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Rakefile b/Rakefile
index 4c5017b5..702292a8 100644
--- a/Rakefile
+++ b/Rakefile
@@ -197,12 +197,10 @@ end
desc "copy dot files for deployment"
task :copydot do
- cd "#{source_dir}" do
- exclusions = [".", "..", ".DS_Store"]
- Dir[".*"].each do |file|
- if !File.directory?(file) && !exclusions.include?(file)
- cp(file, "../#{public_dir}");
- end
+ exclusions = [".", "..", ".DS_Store"]
+ Dir["#{source_dir}/.*"].each do |file|
+ if !File.directory?(file) && !exclusions.include?(file)
+ cp(file, "#{public_dir}");
end
end
end