mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 23:35:00 -04:00
Merge branch '2.1' into site-2.1
This commit is contained in:
commit
7e5ae5ecd8
0
.themes/classic/source/.nojekyll
Normal file
0
.themes/classic/source/.nojekyll
Normal file
7
Rakefile
7
Rakefile
@ -260,8 +260,11 @@ end
|
||||
|
||||
desc "copy dot files for deployment"
|
||||
task :copydot, :source, :dest do |t, args|
|
||||
FileList["#{args.source}/**/.*"].exclude("**/.", "**/..", "**/.DS_Store", "**/._*").each do |file|
|
||||
cp_r file, file.gsub(/#{args.source}/, "#{args.dest}") unless File.directory?(file)
|
||||
files = [".htaccess", ".nojekyll"]
|
||||
Dir["#{args.source}/.*"].each do |file|
|
||||
if !File.directory?(file) && files.include?(File.basename(file))
|
||||
cp(file, file.gsub(/#{args.source}/, "#{args.dest}"));
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user