Commit Graph

70 Commits

Author SHA1 Message Date
Laurent Sansonetti
fe8be1b806 Merge pull request #28 from satococoa/add-linker-flag-for-arc
Add "-fobjc-arc" for linker flag when deployment target is 4.3
2012-09-03 04:15:44 -07:00
Laurent Sansonetti
3d4c6df749 fixed vendor_project to create static libraries with an object-file index (required by the Mountain Lion linker) 2012-09-01 20:13:25 +02:00
Laurent Sansonetti
e8036d2eaa 'rake device' now honors the 'id' environment variable that can be used to specify the ID of the device where the app should be installed (useful when there are multiple devices connected) 2012-09-01 20:12:51 +02:00
Laurent Sansonetti
b59e128018 Merge pull request #30 from gitt/master
compile xib/storyboard files in nested directories
2012-09-01 11:10:14 -07:00
Eloy Durán
c7f01f1ef9 Merge branch 'tap_location' of https://github.com/marcisme/RubyMotion into marcisme-tap_location 2012-09-01 00:58:57 +02:00
Mike Kelley
832aa330a5 copy over nested directories containing xib and storyboard files 2012-08-28 01:04:55 -06:00
Laurent Sansonetti
fbf940ec11 1.21 2012-08-18 15:01:13 +02:00
Laurent Sansonetti
9cb1b05118 write an object-file index to the archive (needed since Mountain Lion) 2012-08-18 15:01:05 +02:00
Satoshi Ebisawa
363fff3001 Add "-fobjc-arc" for linker flag when deployment target is 4.x 2012-08-14 14:41:36 +09:00
Laurent Sansonetti
c05a73db3d 1.20 2012-07-30 12:45:56 +02:00
Marc Schwieterman
d98b2c45be add tests for and fix location specific taps
It looks like the local location variable in Bacon::Functional::API#tap
was being overwritten on accident. Created tests for location specific
taps and removed overwriting assignment statement.
2012-07-29 21:46:08 -04:00
Laurent Sansonetti
e775bb0df5 1.18 2012-07-14 13:59:23 +02:00
Eloy Duran
0928fafe6f Test that an actual different storyboard is loaded.
Also simplify option initialization a little.
2012-07-13 21:33:05 +02:00
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