Commit Graph

94 Commits

Author SHA1 Message Date
Laurent Sansonetti
54914a528a app.vendor_projects is defined in config.rb, not xcode_config.rb 2013-08-20 18:01:39 +02:00
Laurent Sansonetti
9e8b17013c osx: only strip x86_64 symbols 2013-08-09 16:44:28 +02:00
Laurent Sansonetti
9d95a7211d refactor crash message + fix wording 2013-08-07 15:17:28 +02:00
Laurent Sansonetti
0993cb0cec move resources_dirs into the main config object 2013-06-19 12:40:18 +02:00
Colin T.A. Gray
11830eade4 added Clay's 'exclude_from_detect_dependencies' feature 2013-06-17 08:14:05 +09:00
Laurent Sansonetti
4f9dfe1402 remove app.sim_args and use args env variable instead 2013-06-09 16:51:48 +02:00
Laurent Sansonetti
913ae11077 app.sim_args 2013-05-29 19:21:10 +09:00
Watson
3e075d47c5 add a feature which passing the arguments on launching app 2013-05-28 09:29:14 +09:00
Jeremy Ruppel
6fb9560bfb Support leading ".." notation in dependency pathnames 2013-05-15 07:22:45 +09:00
Jeremy Ruppel
6e07a7c746 Print mutated path if a dependency cannot be found 2013-05-15 07:22:39 +09:00
Laurent Sansonetti
01ad1cd403 osx 'rake spec' task 2013-05-06 15:14:38 +02:00
Laurent Sansonetti
105a915f3d mac port 2013-04-25 02:26:56 +02:00
Watson
34e50e9036 display error message if does not exist spec files in spec directory
http://hipbyte.myjetbrains.com/youtrack/issue/RM-90
2013-04-13 14:24:29 +09:00
Clay Allsopp
a38f066148 change file dependency regex to accept absolute paths 2013-04-05 17:25:20 +09:00
Watson
42352abb44 fix a bug in build system which does not load all depended frameworks
http://hipbyte.myjetbrains.com/youtrack/issue/RM-97
2013-04-02 12:01:40 +09:00
Watson
4d5215a07c add :force_load option into configuration of `app.vendor_project'
There are 3rd-party library which would trigger "duplicate symbol" error at compile time.
It will be useful in such libraries when specify false in :force_load option.

When specify true in this option (by default), it behaves in the same manner as before.

Usage:
    app.vendor_project('vendor/OAuth2Client',
      :static,
      :force_load => false,
      :headers_dir => 'Sources/OAuth2Client'
      ....
2013-03-15 11:05:17 +09:00
Dave Lee
355cb36f1f Make _spec suffix optional when running rake spec files=...
With this change, the following invocations are equivalent:

    rake spec files=integration_spec

and

    rake spec files=integration
2013-03-14 13:24:15 +09:00
Watson
b17e5bb7e4 `app.resources_dir' will be deprecated 2013-02-26 01:00:51 +09:00
Watson
fa28dd86e3 fix a bug which cannot build an app when `app. xcode_dir' contains spaces
RM-40 Can't build with spaces in xcode.app path
2013-02-25 18:22:30 +09:00
Watson
a160a13cc1 add a feature to support multiple resource directories
change `app.resources_dir' to accept an Array too, like:

    app.resources_dir = ["resources", "vendor/GoogleMaps.framework/Resources"]
2013-02-25 15:45:02 +09:00
yury
03c33372d7 Speed up build a little bit.
We use rubymotion v1.30 with new automatically detected file dependencies. We have very slow builds (about 30 secs on not cold builds) in project with only 52 ruby files.
After investigating I found that almost all build time rubymotion spend in `Motion::Project::Config#ordered_build_files` (about 24 secs).
`Array#uniq` does exactly what `orderd_build_files` is doing but much much faster.
With this change `Motion::Project::Config#ordered_build_files` takes only about 0.06 secs on my machine.
2013-01-23 15:13:44 +09:00
Watson
b69859fbdf fix a bug in detecting dependencies where it would cause build error when passed non-flat array into `app.files' 2013-01-15 15:53:25 +09:00
Watson
2513369a65 change the default value in detect_dependencies 2012-11-11 21:01:45 +09:00
Watson
ec7f3be3f8 add detect_dependencies variable to resolve file dependencies 2012-11-11 10:02:35 +09:00
Watson
b39797250f add the feature to resolve file dependencies 2012-11-10 21:22:35 +09:00
Laurent Sansonetti
35dc2d239e fix passing the UIAutomation bridgesupport file to the compiler 2012-10-22 13:20:26 +02:00
Laurent Sansonetti
657ae69319 fix a precedence operator bug 2012-10-08 13:34:34 +02:00
Laurent Sansonetti
25cd38f010 load UIAutomation dynamically, add 'spec:device' task which runs the specs on the device 2012-10-06 16:20:02 +02:00
Watson
fb398bcd36 remove all dots from DTXcode value 2012-10-06 21:21:10 +09:00
Watson
6c43a2807c add framework_search_paths property 2012-10-06 19:54:13 +09:00
Laurent Sansonetti
2868fbff4e fix DT plist settings for ios 6.0 2012-10-02 23:02:16 +02:00
Laurent Sansonetti
7d1ff7173d fix gen_bridge_metadata invocation on headers whose paths contain space character 2012-09-27 13:44:40 +02:00
Laurent Sansonetti
f87379dbb5 merge contributions from github 2012-09-26 16:20:29 +02:00
Watson
2e0a13b126 Fixed a bug in build system. If info_plist is customized at except the setup block end, it might cause build error
ex)

Motion::Project::App.setup do |app|
  # Use `rake config' to see complete project settings.
  app.info_plist['SomeVariable'] = 'SomeValue'
  app.name = 'test_plist'
end
2012-09-25 10:52:08 +09:00
Laurent Sansonetti
c41ffd4bd8 the build mode can now be specified using the 'mode 2012-09-19 15:09:12 +02:00
Laurent Sansonetti
be3d99547b set the 'get-task-allow' entitlement to true by default for development builds 2012-09-15 15:59:11 +02:00
Laurent Sansonetti
f662faa61c rake simulator's 'retina' option can now take 3.5 and 4 as values (for iphone5 retina mode) 2012-09-14 18:07:16 +02:00
Laurent Sansonetti
9c5aceb07a use a different bundle identifier when running in spec mode 2012-09-03 21:16:34 +02:00
Laurent Sansonetti
13f4e3da2e pass -fobjc-arc to LDFLAGS if the deployment target is 4.3 2012-09-03 13:18:51 +02:00
Laurent Sansonetti
3a4a19c41f exposes the motiondir variable 2012-07-14 12:21:59 +02:00
Laurent Sansonetti
8d72787415 fix a regression where spec files in nested directories would not be compiled 2012-07-10 21:19:38 +02:00
Laurent Sansonetti
bcf40d8266 added weak frameworks support 2012-07-05 16:23:16 +02:00
Laurent Sansonetti
2edd313f81 static library support 2012-07-01 23:47:55 +02:00
Laurent Sansonetti
c1e15c32c2 rake spec now honors the files env variable 2012-06-29 21:40:56 +02:00
Laurent Sansonetti
16fd7d0d50 integrate spec/ui work 2012-06-29 12:34:24 +02:00
Laurent Sansonetti
3af110901a add more options 2012-06-26 19:09:55 +02:00
Laurent Sansonetti
0df46fb5ce clear RUBYOPT when calling gen_bridge_metadata 2012-06-18 23:36:51 +02:00
Laurent Sansonetti
addb4a25c0 rake simulator now honors deployment_target option, fixed bug when supporting deployment_target 2012-06-15 13:04:56 +02:00
Laurent Sansonetti
21d9e7abd8 let the user specify cpu archs 2012-06-14 21:18:39 +02:00
Laurent Sansonetti
15743ff074 switch to clang++ to compile/link 2012-06-14 20:56:09 +02:00