Commit Graph

44 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
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
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
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
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
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
Mike Kelley
832aa330a5 copy over nested directories containing xib and storyboard files 2012-08-28 01:04:55 -06: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
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
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
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
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
Francis Chong
32f38126c2 add more options 2012-06-19 20:09:07 +08: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
d95c15a7f3 relink the executable in case one of the vendored libraries changed 2012-06-16 22:32:52 +02: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
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
315c1ec941 switch to clang++ 2012-06-14 20:58:35 +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
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
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
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
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