Commit Graph

48 Commits

Author SHA1 Message Date
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
Laurent Sansonetti
ad71aa4b8d pass sdk_version instead of deployment_target to the sim launcher (fixes issue #7) 2012-06-06 17:40:20 +02:00
Mark Villacampa
5e35c567a4 Added the possibility to have - and _ in the project name 2012-06-04 03:19:31 +02:00
Laurent Sansonetti
9775285534 validate app.icons to make sure it contains an array of strings, otherwise the generated Info.plist file will cause Application Loader.app to trigger an unrecognized selector exception 2012-06-03 20:22:36 +02:00
Laurent Sansonetti
bf5411daf5 Merge pull request #1 from pchw/master
add coding: sign into Rakefile for non-ASCII characters
2012-06-02 04:39:16 -07:00
Vladimir Pouzanov
3788f9fbfa Added hard requirement on bundler 2012-06-02 11:56:48 +03:00
pochi
c66d7072ad add coding sign into template for non-ASCII characters 2012-06-02 12:34:39 +09:00
Laurent Sansonetti
c14c432602 initial revision 2012-06-01 19:26:29 +02:00