Clean up and Fix deploy list with Meta xml

Deploy list was breaking on any included -meta.xml files.
Now they are excluded
This commit is contained in:
ViViDboarder 2013-05-09 17:23:00 -07:00
parent f5c9a04f2e
commit af0538de62

View File

@ -269,10 +269,6 @@ module AbuseTheForce
AbuseTheForce.pute("List not found", true) AbuseTheForce.pute("List not found", true)
end end
unless File.file? "/Users/ifij/workspace/salesforce-apex/build.xml"
puts "NO BUILD"
end
# Clean out the temp directory # Clean out the temp directory
AbuseTheForce.clean_temp AbuseTheForce.clean_temp
@ -287,6 +283,11 @@ module AbuseTheForce
# Check that file exists # Check that file exists
if File.file? fpath if File.file? fpath
# If this line is just a meta file, skip it
if fpath.ends_with? 'meta.xml'
next
end
# Did the file copy? # Did the file copy?
file_copied = AbuseTheForce.copy_temp_file fpath file_copied = AbuseTheForce.copy_temp_file fpath