salesforce-deploy-tool 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/salesforcedeploytool/app.rb +7 -0
- data/lib/salesforcedeploytool/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 017c01cab1d76fa386f3d7ce393179bfc4f90e5e
|
|
4
|
+
data.tar.gz: ebd31823a6824baf96f2dd932a8be0bd04b99682
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4bb293aac72a795e695f3cd7883f7a7ccdc6ed1182a5a4b07986231349e83c905e79b880ed343147dc25ec3bfbae561b6127cdb94db7a1046fd8f3094fdb4d19
|
|
7
|
+
data.tar.gz: 8230741c51cec8be54a6f4cf9608b3170829dd3cf8a6fb794ee0284a85222743be988f5f16b445173dbb31017caef5c627574ed832d310daafeb488ed7fc5be9
|
|
@@ -11,6 +11,7 @@ module SalesforceDeployTool
|
|
|
11
11
|
@password = config[:password]
|
|
12
12
|
@debug = config[:debug]
|
|
13
13
|
@test = config[:test]
|
|
14
|
+
@deploy_ignore_files = config[:deploy_ignore_files]
|
|
14
15
|
|
|
15
16
|
@server_url = @sandbox == 'prod' ? 'https://login.salesforce.com' : 'https://test.salesforce.com'
|
|
16
17
|
|
|
@@ -107,6 +108,12 @@ module SalesforceDeployTool
|
|
|
107
108
|
full_cmd = env_vars + cmd
|
|
108
109
|
|
|
109
110
|
Dir.chdir @git_dir
|
|
111
|
+
|
|
112
|
+
# Delete files to be ignored:
|
|
113
|
+
@deploy_ignore_files.each do |file|
|
|
114
|
+
FileUtils.rm file if File.exists? file
|
|
115
|
+
end
|
|
116
|
+
|
|
110
117
|
exit_code = myexec full_cmd, exec_options
|
|
111
118
|
|
|
112
119
|
exit exit_code if exit_code != 0
|