salesforce-deploy-tool 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sf +3 -1
- 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: 3ba8e2644e0037a6634260ef1518601c1b47f401
|
4
|
+
data.tar.gz: ebc8ff213c385189f37662594c3bf01745ef59d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7009526e56fbae17284cde20525479b323973f61e9765d05d8922d3afad68a806c3b2039dc0bba7db85b9c1ea8db64cde8ff1c107ebe96b7877135529f3456c
|
7
|
+
data.tar.gz: df730bdf0b66954e89135367031ae40e4ce0a5e4ee5efd346e731fec7626a4b44442366298c3f0a47732cb352aff0caa31df5781b1076a74d5c6a8e6fba4767b
|
data/bin/sf
CHANGED
@@ -28,7 +28,6 @@ config = {}
|
|
28
28
|
end
|
29
29
|
|
30
30
|
# Grab variables from env if not in the config files
|
31
|
-
config[:buildxml_dir] = ENV["SFDT_BUILDXML_DIR"] || config[:buildxml_dir]
|
32
31
|
config[:git_dir] = ENV["SFDT_GIT_DIR"] || config[:git_dir]
|
33
32
|
config[:tmp_dir] = ENV["SFDT_TMP_DIR"] || config[:tmp_dir]
|
34
33
|
config[:version_file] = ENV["SFDT_VERSION_FILE"] || config[:version_file]
|
@@ -39,6 +38,9 @@ config[:username] = ENV["SFDT_USERNAME"] || config[:
|
|
39
38
|
config[:password] = ENV["SFDT_PASSWORD"] || config[:password]
|
40
39
|
config[:deploy_ignore_files] = ENV["SFDT_DEPLOY_IGNORE_FILES"].nil? ? config[:deploy_ignore_files] : ENV["DEPLOY_IGNORE_FILES"].split(',')
|
41
40
|
|
41
|
+
# Default values
|
42
|
+
config[:buildxml_dir] = ENV["SFDT_BUILDXML_DIR"] || config[:buildxml_dir] || ''
|
43
|
+
|
42
44
|
# Minimal config validation
|
43
45
|
abort "Config error: git_dir not found in #{GLOBAL_CONFIG_FILE} or through SFDT_GIT_DIR" if config[:git_dir].nil?
|
44
46
|
abort "Config error: tmp_dir not found in #{GLOBAL_CONFIG_FILE} or through SFDT_TMP_DIR" if config[:tmp_dir].nil?
|