ecb 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/commands/xcode_build.rb +3 -2
- data/lib/ebmsharedlib/utilities.rb +6 -0
- data/lib/info.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: 1c1164f3a609583bca15a0aed91d3344e3c3d9f1
|
4
|
+
data.tar.gz: 444ccf73593fba35a22582835cc2c379648d7098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2177e86eb7b6539ac2b902250c5eced4b53d2a78c1db415d2c98e3ce7254476bb7f933eaeec65260e1fb682b84fd003ed71d1a7ef838c63b7aea7cf1b6927fe
|
7
|
+
data.tar.gz: ebbaf7477241eeaeb0f86a4c872ad7790ea37f6bb3bc8d552a3dc0a6deaa1fb644ca4a581c67173a61019a6de53bcf3d0ea42f0202a2a42b7c007addab19296e
|
data/lib/commands/xcode_build.rb
CHANGED
@@ -82,11 +82,12 @@ module Commands
|
|
82
82
|
config_repo = options[:config_repo]
|
83
83
|
config_repo_url = EcbSharedLib.prepare_config_repo(config_repo)
|
84
84
|
info = EcbSharedLib.read_repo_config(config_repo_url, config_name)
|
85
|
-
|
85
|
+
build_config = EcbSharedLib.read_build_config(config_repo_url)
|
86
|
+
byebug
|
86
87
|
# Now that we have the json, prepare the world by creating a directory with the config name and placing
|
87
88
|
# the various repos beneath that. The directory is created relative to the current directory.
|
88
89
|
|
89
|
-
cmd = "security unlock-keychain -p
|
90
|
+
cmd = "security unlock-keychain -p #{build_config[:login_password]} ~/Library/Keychains/login.keychain"
|
90
91
|
EcbSharedLib::CL.do_cmd(cmd, '.')
|
91
92
|
|
92
93
|
cmd = "rm -Rf build"
|
@@ -178,6 +178,12 @@ module EcbSharedLib
|
|
178
178
|
write_json_file(map,settings_path, err_msg)
|
179
179
|
end
|
180
180
|
|
181
|
+
# read and return the config info for this repo
|
182
|
+
def self.read_build_config(repo_url, err_msg = nil)
|
183
|
+
config_file_path = "#{full_config_path(repo_url)}/configs/build#{EcbSharedLib::CONFIG_SUFFIX}"
|
184
|
+
read_json_file(config_file_path, err_msg)
|
185
|
+
end
|
186
|
+
|
181
187
|
# read and return the config info for this repo
|
182
188
|
def self.read_repo_config(repo_url, config_name, err_msg = nil)
|
183
189
|
config_file_path = "#{full_config_path(repo_url)}/configs/#{config_name}#{EcbSharedLib::CONFIG_SUFFIX}"
|
data/lib/info.rb
CHANGED