frank-cucumber 0.9.5.pre1 → 0.9.5.pre2
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.
data/lib/frank-cucumber/cli.rb
CHANGED
|
@@ -55,7 +55,9 @@ module Frank
|
|
|
55
55
|
|
|
56
56
|
extra_opts = XCODEBUILD_OPTIONS.map{ |o| "-#{o} #{options[o]}" if options[o] }.compact.join(' ')
|
|
57
57
|
|
|
58
|
-
run "xcodebuild -xcconfig Frank/frankify.xcconfig
|
|
58
|
+
run "xcodebuild -xcconfig Frank/frankify.xcconfig clean build #{extra_opts} -configuration Debug -sdk iphonesimulator DEPLOYMENT_LOCATION=YES DSTROOT=#{build_output_dir} FRANK_LIBRARY_SEARCH_PATHS=#{frank_lib_directory}"
|
|
59
|
+
|
|
60
|
+
run "mv #{build_output_dir}/{*,#{product_name}}.app"
|
|
59
61
|
|
|
60
62
|
in_root do
|
|
61
63
|
FileUtils.cp_r(
|
|
@@ -127,9 +129,13 @@ module Frank
|
|
|
127
129
|
def app_bundle_name
|
|
128
130
|
"#{product_name}.app"
|
|
129
131
|
end
|
|
132
|
+
|
|
133
|
+
def frank_lib_directory
|
|
134
|
+
File.expand_path "Frank"
|
|
135
|
+
end
|
|
130
136
|
|
|
131
137
|
def build_output_dir
|
|
132
|
-
"Frank/frankified_build"
|
|
138
|
+
File.expand_path "Frank/frankified_build"
|
|
133
139
|
end
|
|
134
140
|
|
|
135
141
|
def frankified_app_dir
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: frank-cucumber
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.5.
|
|
4
|
+
version: 0.9.5.pre2
|
|
5
5
|
prerelease: 6
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2012-07-
|
|
13
|
+
date: 2012-07-13 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: cucumber
|