Laurent Sansonetti
274b13770e
move app.version from config to xcodeconfig
2014-05-20 12:01:08 +02:00
Laurent Sansonetti
51cd103453
move versionized_build_dir from config to xcodeconfig
2014-05-19 16:27:14 +02:00
Laurent Sansonetti
10499593c4
move the `rake clear’ logic to platform-specific config files
2014-05-15 20:04:17 +02:00
Laurent Sansonetti
656af65680
move #vendor_project to xcode config, since it won’t work on android
2014-05-15 20:04:17 +02:00
Watson
357b1bd8b1
Revert "use a cached file dependencies in order to reduce the build time"
...
This reverts commit ee514286cf .
Now, detecting build order is much faster without cache by previous commit.
So, let's revert this commit.
2014-04-12 13:51:24 +09:00
Watson
0e5ad9ac90
more reduce the time of detecting build order. Thanks to Ignacio Piantanida for the patch.
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-466
2014-04-12 13:49:27 +09:00
Watson
7e5cbcc514
add comment
2014-04-10 21:36:45 +09:00
Watson
ee514286cf
use a cached file dependencies in order to reduce the build time
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-466
* before
% time rake
... snip ...
rake 18.01s user 1.64s system 89% cpu 21.877 total
* after
% time rake
... snip ...
rake 2.74s user 1.41s system 119% cpu 3.460 total
2014-04-10 17:15:08 +09:00
Watson
d1d3952c46
memorize the calculated file dependencies. Thanks to Ignacio Piantanida for the patch.
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-466
* before
% time rake
... snip ...
rake 38.41s user 2.77s system 101% cpu 40.515 total
* after
% time rake
... snip ...
rake 18.01s user 1.64s system 89% cpu 21.877 total
2014-04-10 17:11:04 +09:00
Laurent Sansonetti
f29d89f89a
add magic encoding comments to all ruby source files
2014-03-05 12:20:20 +01:00
Eloy Durán
0b2a392f98
[CodeSign] Improve cert finding by only checking codesign identities.
...
Also move the logic out into a separate util module.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-399 .
2014-02-27 16:01:20 +01:00
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