mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 00:48:53 -05:00
Merge pull request #123 from rtgibbons/master
rsync deploy broken (fix included)
This commit is contained in:
commit
5efd0fb08e
6
Rakefile
6
Rakefile
@ -197,12 +197,10 @@ end
|
|||||||
|
|
||||||
desc "copy dot files for deployment"
|
desc "copy dot files for deployment"
|
||||||
task :copydot do
|
task :copydot do
|
||||||
cd "#{source_dir}" do
|
|
||||||
exclusions = [".", "..", ".DS_Store"]
|
exclusions = [".", "..", ".DS_Store"]
|
||||||
Dir[".*"].each do |file|
|
Dir["#{source_dir}/.*"].each do |file|
|
||||||
if !File.directory?(file) && !exclusions.include?(file)
|
if !File.directory?(file) && !exclusions.include?(file)
|
||||||
cp(file, "../#{public_dir}");
|
cp(file, "#{public_dir}");
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user