Commit Graph

286 Commits

Author SHA1 Message Date
Watson
1ef33c41fe Merge pull request #108 from Tensho/string-deployment-target-sdk-version-comparison
String deployment_target and sdk_version comparison fix
2013-07-12 20:03:41 -07:00
Andrew Babichev
6e2ada4e2d String deployment_target and sdk_version comparison fix 2013-07-12 18:37:57 +03:00
Watson
03dce90535 2.4 2013-07-12 01:02:50 +09:00
Watson
2afbcd0cb1 fix where it does not generate 64bit type into brigesupport in 3rd-party library on MacOSX platform
http://hipbyte.myjetbrains.com/youtrack/issue/RM-192
2013-07-10 21:21:08 +09:00
Watson
1615a36384 fix a bug where `rake' command would re-launch an iOS 7 simulator every time
iOS 7 has only retina simulator and com.apple.iphonesimulator indicates "iPhone Retina (4-inch)" as default.
So, we need to use retina even if it does not configure ENV['retina']
2013-07-10 21:21:01 +09:00
Laurent Sansonetti
22cba43496 rake build now honors the 'keep_temps' env variable, if set, llvm bitcode and asm files will not be deleted from the build directory 2013-07-10 21:20:50 +09:00
Watson
87a8214b5e fix where `rake retina=3.5' does not work with Xcode 5 DP-2 2013-07-10 21:18:10 +09:00
Watson
bc7d3e7ba6 fix a bug where it could not build the 3rd-party library if file path of app contains the spaces
http://hipbyte.myjetbrains.com/youtrack/issue/RM-191
2013-07-03 13:32:23 +09:00
Colin T.A. Gray
4079e017a0 Merge pull request #104 from katsuyoshi/callback_setup_controller
to setup controller using block.
2013-06-29 14:10:15 -07:00
Katsuyoshi Ito
8b73bafe8c to setup controller using block.
I implemented @colinta 's idea which was discussed below link.
https://groups.google.com/d/msg/rubymotion/M9T6LybaEUs/AWip_Vwy5_4J

When you want to setup UIViewController, you can setup it in a block of tests method.

# Example
  describe MyViewController do

    tests MyViewController do |controller|
      # you can set data to the controller here
      controller.my_data = "foo"
    end

    .
    .
  end
2013-06-30 00:29:48 +09:00
Colin T.A. Gray
41f1a1e387 Merge pull request #100 from IconoclastLabs/master
Smaller Default Image File Size
2013-06-27 14:06:45 -07:00
Watson
b40a4b55ee fix a bug in `rake device' where it could not build app which has target to less than iOS 7.0
http://hipbyte.myjetbrains.com/youtrack/issue/RM-182

add `-stdlib=libstdc++' for linker
2013-06-27 23:24:03 +09:00
Colin T.A. Gray
e3c87c02ce Merge pull request #76 from tkadauke/install_tasks
Rake tasks that make development and testing easier. Thanks, Thomas!
2013-06-26 09:03:06 -07:00
Watson
431ff1a2c7 2.3 2013-06-25 20:47:45 +09:00
Watson
e9d314ac4a delete trailing whitespaces 2013-06-25 19:59:38 +09:00
Watson
b08aa73697 fix warning message where it would display "warning: no debug symbols in executable (-arch i386)" 2013-06-25 19:48:15 +09:00
Watson
c2fc9959ed fix warning message where it would display "ld: warning: ObjC object file (./build/iPhoneSimulator-7.0-Development/objs/init.o) was compiled for iOS Simulator, but linking for MacOSX"
use "-mios-simulator-version-min" instead of "-miphoneos-version-min"
2013-06-25 19:48:10 +09:00
Laurent Sansonetti
88d35371c9 move resources_dirs into the main config object 2013-06-25 19:48:02 +09:00
Laurent Sansonetti
2f07401cb6 define RUBYMOTION_ENV earlier 2013-06-25 19:46:38 +09:00
Gant
c5e3058f1d Created a smaller default image 2013-06-23 23:26:17 -05:00
Watson
58a77d9b15 refactor #98 2013-06-23 16:50:21 +09:00
Watson
8d9ea3687c Merge pull request #98 from imkmf/78-nib-xib-rake-clean-edits
Adds a check in the `rake clean` process for nib/xib existence.
2013-06-23 00:37:54 -07:00
Colin T.A. Gray
a0a39d5333 AH! Commas! 2013-06-16 20:02:43 -04:00
Laurent Sansonetti
1fb3c6bab0 revert zombie env change because it's going to be implemented into the 'sim' executable instead 2013-06-16 16:56:49 +02:00
Kristian Freeman
076deed9be Adds a check in the rake clean process for nib/xib existence.
Fixes #78 by checking for the existence of a xib when attempting to clean a nib file. If a xib file exists, delete the nib; otherwise, delete it.
2013-06-15 15:35:38 -07:00
Watson
7ea395a1af use local scope variable 2013-06-15 01:25:00 +09:00
Watson
349c3ada05 refactor #92 2013-06-15 01:00:20 +09:00
Colin T.A. Gray
b9cc611643 adds 'skip_build' option to 'rake simulater' (ios) and 'rake run' (osx) 2013-06-14 08:47:54 -06:00
Colin T.A. Gray
806b0db569 Revert "Added "rake sim" to run simulator without recompiling."
This reverts commit 1810044d20.
2013-06-14 08:28:08 -06:00
Colin T.A. Gray
2104880f01 adds output=colorized option 2013-06-13 10:24:04 -06:00
Colin T.A. Gray
370df0d6d2 Revert "use the correct env name", because the arguments passed to rake don't
work how i thought they did ;-)

This reverts commit 95f31bf35f.
2013-06-13 10:08:37 -06:00
Watson
c186f84ff5 2.2 2013-06-14 01:02:53 +09:00
Laurent Sansonetti
5a8179ed95 use llvm-gcc for .rb compilation, retrieve compilers from stable Xcode (in the meantime we really migrate to clang) 2013-06-14 01:02:53 +09:00
Colin T.A. Gray
0345af91b2 added Clay's 'exclude_from_detect_dependencies' feature 2013-06-13 09:38:19 -06:00
Colin T.A. Gray
95f31bf35f use the correct env name 2013-06-13 09:19:28 -06:00
Colin T.A. Gray
0e0ad10f6b added zombies to OSX 2013-06-13 09:12:31 -06:00
Colin T.A. Gray
396ff8ed69 Merge pull request #84 from clayallsopp/spec_without_setup
Set `spec_mode` before `setup`
2013-06-13 08:11:41 -07:00
Colin T.A. Gray
2409ae0132 Merge pull request #89 from aceofspades/rake_sim
Added "rake sim" to run simulator without recompiling.
2013-06-13 08:10:08 -07:00
Colin T.A. Gray
49a04f96b4 Merge pull request #91 from danieldickison/master
Set NSZombieEnabled=YES in simulator by passing zombie=1 to rake
2013-06-13 08:07:42 -07:00
Colin T.A. Gray
c3fe96743d Merge pull request #92 from IconoclastLabs/master
Adding git repo ability for templates
2013-06-13 08:06:23 -07:00
Colin T.A. Gray
8a42e2a32f Merge pull request #96 from katsuyoshi/callback_setup_controller
add callback after created controller.
2013-06-13 07:59:25 -07:00
Colin T.A. Gray
373e1e762d Merge pull request #97 from mgarriott/fix_xcode_version
Fix build expression for Xcode 3.x
2013-06-13 07:55:37 -07:00
Matt Garriott
a3f8ccfb90 Fix build expression for Xcode 3.x 2013-06-12 10:57:49 -06:00
Watson
29f802ade6 2.1 2013-06-10 21:41:14 +09:00
Laurent Sansonetti
468946e528 add support for manifest plist file (ios only) 2013-06-10 21:38:57 +09:00
Laurent Sansonetti
47b2f24ddc allow hash keys to be symbols 2013-06-10 21:38:53 +09:00
Katsuyoshi Ito
4f71e2ac34 add callback after created controller.
Sometimes view controller has a data.
The controller was set as a root view controller to the window before called "before" block.
But a data is not set at this point.
The view controller access to nil, and crash sometime even if I set a data in "before" block.

After created controller it will call the specified callback method if you set :after_created option

# Example
  describe MyViewController do

    tests MyViewController, after_created: :after_created_controller

    def after_created_controller controller
      # you can set data to the controller here
      controller.my_data = "foo"
    end

    .
    .
  end
2013-06-10 17:47:48 +09:00
Laurent Sansonetti
00c8eb8965 remove app.sim_args and use args env variable instead 2013-06-09 23:57:29 +09:00
Laurent Sansonetti
2d81dec34f app.vendor_project(:xcode) now rebuilds the project in case a file changed 2013-06-09 21:07:59 +09:00
Laurent Sansonetti
4827f71bae OSX: add LSMinimumSystemVersion plist key 2013-06-09 21:07:48 +09:00