Commit Graph

90 Commits

Author SHA1 Message Date
Laurent Sansonetti
33e070a2bb fix a bug in c66f4fa 2012-10-09 14:19:37 +02:00
Laurent Sansonetti
522a042bda define RUBYMOTION_VERSION 2012-10-09 14:18:57 +02:00
Laurent Sansonetti
c66f4faeff use a different build directory when building vendored Xcode projects 2012-10-09 00:59:27 +02:00
Laurent Sansonetti
c17fb27a77 Merge pull request #43 from ddrscott/patch-1
Update lib/motion/project/config.rb
2012-10-08 04:30:21 -07:00
Laurent Sansonetti
be09e5fdda introduce 'spec:device' rake task to run the specs on the device, fixed 'static' rake task for iOS 6, fixed a bug in the last commit 2012-10-08 13:29:19 +02:00
Laurent Sansonetti
22d82caccc fix the DT* settings of Info.plist for iOS 6.0 2012-10-02 23:03:04 +02:00
Scott Pierce
009e62a2b4 Update lib/motion/project/config.rb
Need extra parens to fix order of operations. Alternative could have been changing the "and" to "&&", but I don't know the coding guidelines.
2012-09-30 07:11:34 -05:00
Laurent Sansonetti
c889ac4008 1.25 2012-09-26 17:28:57 +02:00
Laurent Sansonetti
fca66307a7 pass app.deployment_target to xcodebuild 2012-09-26 16:16:20 +02:00
Laurent Sansonetti
c832971ec0 fixed the Info.plist generation to take into account app-level settings defined after a call to app.info_plist 2012-09-26 16:16:00 +02:00
Laurent Sansonetti
a69ada84f0 fix the 'nm' line to quote the object file 2012-09-26 16:14:05 +02:00
Laurent Sansonetti
d6f37b045a Merge pull request #39 from andreas/master
Allow get-task-allow to be false
2012-09-26 07:09:44 -07:00
Laurent Sansonetti
e59b8cc4f2 Merge pull request #37 from denofevil/no_stty_when_not_on_tty
do not launch stty when stdout is not tty to prevent error message
2012-09-26 07:07:03 -07:00
andreas
85dbad5db6 get-task-allow can be set to false.
Previously, get-task-allow could not be set to false due to the "||="-operator. This is very unhandy e.g. for TestFlight.
2012-09-21 16:46:42 +02:00
Laurent Sansonetti
3dab5ffb55 1.24 2012-09-21 13:43:24 +02:00
Laurent Sansonetti
f43f33057f merge changes from 1.24 release: build system refactoring, mode variable, new retina support (4-inch) 2012-09-21 13:43:16 +02:00
Dennis Ushakov
b2e2c75681 do not launch stty when stdout is not tty to prevent error message 2012-09-13 15:42:38 +04:00
Laurent Sansonetti
ba69a27882 use a different bundle identifier when running in spec mode (this seems necessary since Xcode 4.5 DP4) 2012-09-03 21:17:17 +02:00
Laurent Sansonetti
d79a2b5344 1.23 2012-09-03 14:30:32 +02:00
Laurent Sansonetti
2c71410321 no longer rebuild all .rb files in case the project's Rakefile changed (this used to be important in past versions of the build system but it doesn't make sense anymore to do so) 2012-09-03 13:42:57 +02:00
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