wox 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wox/build_environment.rb +6 -1
- data/lib/wox/version.rb +1 -1
- metadata +3 -3
@@ -14,6 +14,7 @@ module Wox
|
|
14
14
|
def initialize options
|
15
15
|
options[:info_plist] ||= 'Resources/Info.plist'
|
16
16
|
options[:version] ||= Plist::parse_xml(options[:info_plist])['CFBundleVersion']
|
17
|
+
options[:project_name] ||= xcodebuild_list.first.scan(/project\s\"([^\"]+)/i).flatten.first
|
17
18
|
options[:build_dir] ||= 'build'
|
18
19
|
options[:sdk] ||= 'iphoneos'
|
19
20
|
options[:configuration] ||= 'Release'
|
@@ -25,7 +26,11 @@ module Wox
|
|
25
26
|
end
|
26
27
|
|
27
28
|
def project_name
|
28
|
-
|
29
|
+
self[:project_name]
|
30
|
+
end
|
31
|
+
|
32
|
+
def read_version plist_file
|
33
|
+
|
29
34
|
end
|
30
35
|
|
31
36
|
def version
|
data/lib/wox/version.rb
CHANGED
metadata
CHANGED