Commit Graph

57 Commits

Author SHA1 Message Date
Eloy Duran
f357dfd6cd Merge branch 'ft_storyboard_support' of https://github.com/marcisme/RubyMotion into marcisme-ft_storyboard_support 2012-07-13 20:54:46 +02:00
Marc Schwieterman
9045772f76 storyboard support
* load from MainStoryboard by default
    * options
        * :storyboard_name - name of storyboard file (without extension)
        * :id - identifier value of controler as set in Xcode
    * tests
2012-07-12 18:59:40 -04:00
Marc Schwieterman
271200bc84 tag specs that fail with accessibility inspector
Three of the specs in "Bacon::Functional::API, concerning continuous
gestures" fail if the identity inspector is on. I'm not sure if that's
fixable, but I tagged them with TODO, so it will at least be obvious
why they have failed if they do.
2012-07-12 18:59:40 -04:00
Marc Schwieterman
ee07b0b2f2 configure bacon-ui tests to use dev lib dir 2012-07-12 18:42:44 -04:00
Marc Schwieterman
f29cfa5258 add motiondir to config variables
This change exposes `motiondir` as a config variable, so it can be set
in the Rakefile. When using a modified RUBYMOTION_LIB, the paths for the
`data` and `bin` directories are currently based on the path of the
`config.rb` file, so they are not found.
2012-07-12 18:42:22 -04:00
Laurent Sansonetti
6b6e1820b1 1.17 2012-07-13 00:06:26 +02:00
Laurent Sansonetti
5728c1f148 remove the bundler code as it's apparently causing issues in certain environments 2012-07-13 00:06:17 +02:00
Laurent Sansonetti
bd22bce03c 1.16 2012-07-12 22:46:30 +02:00
Laurent Sansonetti
b455dae733 quiet killall 2012-07-12 22:46:19 +02:00
Laurent Sansonetti
83aba5d33c quit the simulator app before changing the SimulateDevice variable, to avoid bugs such as the ipad simulator using the iphone frame 2012-07-12 21:44:24 +02:00
Laurent Sansonetti
4244f0720b this file is not necessary 2012-07-11 15:55:22 +02:00
Laurent Sansonetti
506459d5c7 disable exception logging when running in spec mode 2012-07-11 15:45:07 +02:00
Laurent Sansonetti
7dbc26e610 add bacon-ui test suite 2012-07-11 15:44:47 +02:00
Laurent Sansonetti
86cfd0a959 Merge pull request #3 from farcaller/bundler
Added an option to use bundler if present
2012-07-10 12:17:38 -07:00
Laurent Sansonetti
b01b0d4b0d Merge pull request #19 from marcisme/spec_files_glob
restore inclusion of specs_dir sub-directories
2012-07-10 07:51:03 -07:00
Marc Schwieterman
93657d2399 ensure helpers are only included once
* rename file arrays to clarify their contents
  * remove helpers from specs array before filtering
2012-07-08 16:44:12 -04:00
Marc Schwieterman
32690798e5 restore inclusion of specs_dir sub-directories
It looks like 5a37c3df38 removed the `**`
from the pattern used to generate the specs array. This has the effect
of only running specs located directly in the `specs_dir` directory.

For example, with the following directory structure, only `foo_spec.rb`
would be run with an invocation of `rake spec`.

spec/foo_spec.rb
spec/bar/bar_spec.rb

This patch restores the `**` passed to `Dir.glob` and also uses
`Dir.join` for generation of the path to the spec helpers directory.
2012-07-05 22:27:58 -04:00
Laurent Sansonetti
fa98edde47 1.15 2012-07-05 17:08:45 +02:00
Laurent Sansonetti
3e8c312099 Merge branch 'master' of github.com:HipByte/RubyMotion 2012-07-05 16:32:21 +02:00
Laurent Sansonetti
24c87d7326 Merge pull request #14 from qrush/master
Grab files within symlinks inside of the resources directory when copying over resources
2012-07-05 07:31:34 -07:00
Laurent Sansonetti
81a6578a71 add weak frameworks support 2012-07-05 16:25:16 +02:00
Laurent Sansonetti
5a37c3df38 spec UI + static libraries support 2012-07-05 16:01:54 +02:00
Laurent Sansonetti
8fac457160 1.14 2012-06-26 21:04:00 +02:00
Laurent Sansonetti
a24c7e7316 status_bar_style and background_modes accept symbols, CFBundleURLTypes is removed since it's too complex and can be set up using info_plist 2012-06-26 19:11:12 +02:00
Laurent Sansonetti
fd664f475b Merge pull request #13 from siuying/additional_options
add more options
2012-06-26 09:32:46 -07:00
Nick Quaranto
68768faf57 Grab files within symlinks inside of the resources directory when copying over resources 2012-06-19 22:58:28 -03:00
Laurent Sansonetti
13556ba754 1.13 2012-06-19 14:38:07 +02:00
Francis Chong
32f38126c2 add more options 2012-06-19 20:09:07 +08:00
Laurent Sansonetti
b94b83be72 fix a regression in 'rake simulator' introduced by 01315ce30 - also, the 'deployment_target' env variable becomes 'target' 2012-06-18 23:45:01 +02:00
Laurent Sansonetti
f86e6d0596 Merge pull request #11 from satococoa/fix-gen_bridge_metadata-with-bundler
clear $RUBYOPT when calling gen_bridge_metadata
2012-06-18 14:35:54 -07:00
Laurent Sansonetti
9413a1d1f8 touch the object files build directory after the build, to make sure the mtime comparison with Rakefile gives an expected result at the next build 2012-06-18 23:01:40 +02:00
Satoshi Ebisawa
9950550e30 clear $RUBYOPT when calling gen_bridge_metadata 2012-06-18 03:44:46 +09:00
Laurent Sansonetti
3714421c03 1.12 2012-06-17 17:04:28 +02:00
Laurent Sansonetti
d95c15a7f3 relink the executable in case one of the vendored libraries changed 2012-06-16 22:32:52 +02:00
Laurent Sansonetti
476fab6ff1 s/target/deployment_target 2012-06-15 13:05:34 +02:00
Laurent Sansonetti
e2179c2ec6 Merge pull request #10 from satococoa/add_target_option
Added `target` option on :simulator task
2012-06-15 04:02:35 -07:00
Satoshi Ebisawa
86d39de1ad use BridgeSupports for needed versions
case 1.
SDK=5.1, deployment_target=4.3
BridgeSupport files for 4.3, 5.0, 5.1 will be needed.

case 2.
SDK=5.1, deployment_target=5.1(or not specified)
BridgeSupport files for 5.1 will be needed.
2012-06-15 19:21:39 +09:00
Satoshi Ebisawa
01315ce30c add target option on :simulator task 2012-06-15 19:20:47 +09:00
Laurent Sansonetti
9887412efb let the user specify which archs should be used to build a certain platform (by using the app.archs method which returns a hash) - this is so far only useful when working with iOS 4.3 2012-06-14 21:27:25 +02:00
Laurent Sansonetti
8a70ed0959 Merge pull request #8 from mneorr/master
Added Fast test output, Fixed Knock and Tap test names
2012-06-14 12:01:25 -07:00
Laurent Sansonetti
315c1ec941 switch to clang++ 2012-06-14 20:58:35 +02:00
Marin Usalj
5810bf7599 Added the FastOutput! Fixed Knock and Tap spec names that were not displayed 2012-06-13 14:02:17 +02:00
Laurent Sansonetti
000b645e76 1.11 2012-06-12 23:26:05 +02:00
Laurent Sansonetti
e1030b0b88 complain about the Xcode path only if xcode-select returns a /Developer path 2012-06-12 23:25:58 +02:00
Laurent Sansonetti
c53729248c spec output can now be specified by setting the output environment variable (ex. rake spec output=test_unit) 2012-06-10 22:07:14 +02:00
Vladimir Pouzanov
581a9a728b Removed the empty Gemfile generator (as bundler will now silently fail on its absence) 2012-06-10 11:59:03 +03:00
Laurent Sansonetti
30d0bb51d3 1.10 2012-06-10 10:32:33 +02:00
Laurent Sansonetti
c5d01c2754 Merge pull request #4 from MarkVillacampa/master
Added the possibility to have - and _ in the project name
2012-06-07 04:27:34 -07:00
Vladimir Pouzanov
7bc13bb99d Made bundler optional as per @lrz suggestion 2012-06-07 13:53:14 +03:00
Laurent Sansonetti
2429a976b3 do not pass --no-64-bit to gen_bridge_metadata on Snow Leopard (since the flag was added in Lion) 2012-06-07 12:39:40 +02:00