lib/asproject.rb in asproject-0.1.41 vs lib/asproject.rb in asproject-0.1.42
- old
+ new
@@ -2,10 +2,12 @@
require 'rubygems'
require 'rake/clean'
require 'rake/tasklib'
require 'zip/zipfilesystem'
+require 'zlib'
+require 'archive/tar/minitar'
require 'net/http'
require 'yaml'
require 'optparse'
require 'fileutils'
require 'erb'
@@ -230,10 +232,10 @@
end
end
#######################################
# ignore_file?
- @@COPY_IGNORE_FILES = ['.', '..', '.svn', '.DS_Store', 'CVS', '.cvs' 'Thumbs.db', '.crap_file']
+ @@COPY_IGNORE_FILES = ['.', '..', '.svn', '.DS_Store', 'CVS', '.cvs' 'Thumbs.db', '.crap_file', '.Trashes', 'Desktop DB', 'Desktop DF']
# Do not copy files found in the ignore_files list
def AsProject.ignore_file? file
@@COPY_IGNORE_FILES.each do |name|
if(name == file)
return true