Skip to content
Browse files

Build using waxsim instead.

  • Loading branch information...
1 parent 8c58e92 commit 10e6a2f1d938bb7326716638b57a79de1457b1ef @lukeredpath lukeredpath committed
Showing with 63 additions and 42 deletions.
  1. +4 −2 Rakefile
  2. +1 −1 ext/Rakefile
  3. +57 −38 iCuke.gemspec
  4. +1 −1 lib/icuke/sdk.rb
View
6 Rakefile
@@ -15,8 +15,10 @@ begin
gem.add_dependency "httparty", ">= 0"
gem.add_dependency "nokogiri", ">= 0"
gem.extensions = ['ext/Rakefile']
- gem.files += ['bin/iphonesim']
+ gem.files += ['bin/WaxSim']
gem.files += ['ext/iCuke/libicuke*.dylib']
+ gem.files += ['ext/WaxSim/**/*']
+ gem.files -= ['ext/WaxSim/build/**/*']
end
Jeweler::GemcutterTasks.new
rescue LoadError
@@ -26,7 +28,7 @@ end
file 'app/build/Debug-iphonesimulator/Universal.app/Universal' do
sh "cd app && xcodebuild -target Universal -configuration Debug -sdk #{ICuke::SDK.fullname}"
end
-task :app => 'app/sdk3/build/Debug-iphonesimulator/UICatalog.app/UICatalog'
+task :app => 'app/sdk4/build/Debug-iphonesimulator/UICatalog.app/UICatalog'
task :features => :app
task :lib do
View
2 ext/Rakefile
@@ -1,5 +1,5 @@
task :install do
- sh "cd WaxSim && xcodebuild install DSTROOT=../../ INSTALL_PATH=/bin"
+ sh "cd WaxSim && xcodebuild install DSTROOT=../../ INSTALL_PATH=/ext/bin"
sh "cd iCuke && rake"
end
View
95 iCuke.gemspec
@@ -9,10 +9,10 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Rob Holland"]
- s.date = %q{2010-06-20}
+ s.date = %q{2010-06-24}
s.description = %q{Cucumber support for iPhone applications}
s.email = %q{rob@the-it-refinery.co.uk}
- s.executables = ["icuke", "icuke-module", "iphonesim"]
+ s.executables = ["icuke", "icuke-module"]
s.extensions = ["ext/Rakefile"]
s.extra_rdoc_files = [
"LICENSE",
@@ -56,13 +56,65 @@ Gem::Specification.new do |s|
"bin/.gitignore",
"bin/icuke",
"bin/icuke-module",
- "bin/iphonesim",
"ext/Rakefile",
+ "ext/WaxSim/Simulator.h",
+ "ext/WaxSim/Simulator.m",
+ "ext/WaxSim/WaxSim.m",
+ "ext/WaxSim/WaxSim.xcodeproj/luke.pbxuser",
+ "ext/WaxSim/WaxSim.xcodeproj/luke.perspectivev3",
+ "ext/WaxSim/WaxSim.xcodeproj/project.pbxproj",
+ "ext/WaxSim/WaxSim_Prefix.pch",
+ "ext/WaxSim/build/Debug/waxsim",
+ "ext/WaxSim/build/Release/waxsim",
+ "ext/WaxSim/build/Release/waxsim.dSYM/Contents/Info.plist",
+ "ext/WaxSim/build/Release/waxsim.dSYM/Contents/Resources/DWARF/waxsim",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/Objects-normal/x86_64/Simulator.o",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/Objects-normal/x86_64/WaxSim.o",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/Objects-normal/x86_64/waxsim.LinkFileList",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/WaxSim.dep",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/build-state.dat",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/waxsim-all-target-headers.hmap",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/waxsim-generated-files.hmap",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/waxsim-own-target-headers.hmap",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/waxsim-project-headers.hmap",
+ "ext/WaxSim/build/WaxSim.build/Debug/WaxSim.build/waxsim.hmap",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/i386/Simulator.o",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/i386/WaxSim.o",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/i386/waxsim",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/i386/waxsim.LinkFileList",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/ppc/Simulator.o",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/ppc/WaxSim.o",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/ppc/waxsim.LinkFileList",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/Simulator.o",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/WaxSim.o",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/waxsim",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/waxsim.LinkFileList",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Script-0482769511263E2A003DFACB.sh",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim.dep",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim~.dep",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state.dat",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state~.dat",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-all-target-headers.hmap",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-generated-files.hmap",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-own-target-headers.hmap",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-project-headers.hmap",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim.hmap",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/categories.pbxbtree",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/cdecls.pbxbtree",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/decls.pbxbtree",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/files.pbxbtree",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/imports.pbxbtree",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/pbxindex.header",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/protocols.pbxbtree",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/refs.pbxbtree",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/strings.pbxstrings/control",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/strings.pbxstrings/strings",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/subclasses.pbxbtree",
+ "ext/WaxSim/build/WaxSim.build/WaxSim.pbxindex/symbols0.pbxsymbols",
+ "ext/WaxSim/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient.h",
"ext/iCuke/.gitignore",
"ext/iCuke/Rakefile",
- "ext/iCuke/libicuke-sdk3.1.dylib",
"ext/iCuke/libicuke-sdk4.0.dylib",
- "ext/iCuke/libicuke.dylib",
"ext/iCuke/sdk3.1/DefaultsResponse.h",
"ext/iCuke/sdk3.1/DefaultsResponse.m",
"ext/iCuke/sdk3.1/EventResponse.h",
@@ -133,39 +185,6 @@ Gem::Specification.new do |s|
"ext/iCuke/sdk4.0/json/SBJsonParser.m",
"ext/iCuke/sdk4.0/json/SBJsonWriter.h",
"ext/iCuke/sdk4.0/json/SBJsonWriter.m",
- "ext/iphonesim/README",
- "ext/iphonesim/Source/iPhoneSimulator.h",
- "ext/iphonesim/Source/iPhoneSimulator.m",
- "ext/iphonesim/Source/main.m",
- "ext/iphonesim/Source/nsprintf.h",
- "ext/iphonesim/Source/nsprintf.m",
- "ext/iphonesim/build/Release/iphonesim",
- "ext/iphonesim/build/Release/iphonesim.dSYM/Contents/Info.plist",
- "ext/iphonesim/build/Release/iphonesim.dSYM/Contents/Resources/DWARF/iphonesim",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/i386/iPhoneSimulator.o",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/i386/iphonesim",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/i386/iphonesim.LinkFileList",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/i386/main.o",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/i386/nsprintf.o",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/x86_64/iPhoneSimulator.o",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/x86_64/iphonesim",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/x86_64/iphonesim.LinkFileList",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/x86_64/main.o",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/Objects-normal/x86_64/nsprintf.o",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/build-state.dat",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/build-state~.dat",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/iphonesim-all-target-headers.hmap",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/iphonesim-generated-files.hmap",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/iphonesim-own-target-headers.hmap",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/iphonesim-project-headers.hmap",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/iphonesim.dep",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/iphonesim.hmap",
- "ext/iphonesim/build/iphonesim.build/Release/iphonesim.build/iphonesim~.dep",
- "ext/iphonesim/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient.h",
- "ext/iphonesim/iphonesim.xcodeproj/jhaynie.pbxuser",
- "ext/iphonesim/iphonesim.xcodeproj/jhaynie.perspectivev3",
- "ext/iphonesim/iphonesim.xcodeproj/project.pbxproj",
- "ext/iphonesim/iphonesim_Prefix.pch",
"features/iphone.feature",
"features/support/env.rb",
"iCuke.gemspec",
View
2 lib/icuke/sdk.rb
@@ -122,7 +122,7 @@ def self.ld
def self.launch(application, family = :ipad, environment = {})
environment_args = environment.map { |k, v| %Q{#{k}="#{v}"} }.join(' ')
- %Q{#{ICUKE_BIN_DIR}/iphonesim #{environment_args} launch "#{application}" #{version} #{family}}
+ %Q{#{environment_args} #{ICUKE_EXT_DIR}/bin/waxsim -s #{version} "#{application}"}
end
private

0 comments on commit 10e6a2f

Please sign in to comment.
Something went wrong with that request. Please try again.