From af0538de62df7d52fcb4fd88edfdd1fcccb0009f Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Thu, 9 May 2013 17:23:00 -0700 Subject: [PATCH] Clean up and Fix deploy list with Meta xml Deploy list was breaking on any included -meta.xml files. Now they are excluded --- lib/abusetheforce/cli.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/abusetheforce/cli.rb b/lib/abusetheforce/cli.rb index 3692a76..666bebf 100644 --- a/lib/abusetheforce/cli.rb +++ b/lib/abusetheforce/cli.rb @@ -269,10 +269,6 @@ module AbuseTheForce AbuseTheForce.pute("List not found", true) end - unless File.file? "/Users/ifij/workspace/salesforce-apex/build.xml" - puts "NO BUILD" - end - # Clean out the temp directory AbuseTheForce.clean_temp @@ -287,6 +283,11 @@ module AbuseTheForce # Check that file exists 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? file_copied = AbuseTheForce.copy_temp_file fpath