Browse Source

Merge pull request #123 from rtgibbons/master

rsync deploy broken (fix included)
unreleased_contents
Brandon Mathis 13 years ago
parent
commit
5efd0fb08e
  1. 10
      Rakefile

10
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

Loading…
Cancel
Save