Laurent Sansonetti
10e4e28a23
make sure the builder archs does not contain duplicates
2014-11-05 14:04:26 +01:00
Watson
b257909cb7
not embed kernel-*.bc into each compiled files
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-652
2014-11-04 22:34:19 +09:00
Laurent Sansonetti
708f006eb1
simplify the arm64 object compilation even better + fix warnings due to overriding the module triple
2014-10-11 19:57:35 +02:00
Laurent Sansonetti
efd2b5ec08
simplify the arm64 object file generation
2014-10-11 19:34:22 +02:00
Laurent Sansonetti
60adfb1756
when compiling dummy files for arm64, ignore linker warnings about invalid version debug info (which seem to be caused by an Xcode bug)
2014-10-10 13:16:48 +02:00
Eloy Durán
4982bca7dd
[builder] Specify object files to linker in a temp file.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-62 .
2014-09-02 17:46:49 +02:00
Laurent Sansonetti
cd15a9bcc1
Fix all the extension templates (patch by Mark V.)
2014-08-28 15:21:39 +02:00
Watson
816dd6de92
fix build error which it was occurred if config.targets is empty
...
This should fix following error
NoMethodError: undefined method `empty?' for nil:NilClass
/Users/watson/prj/RubyMotion/lib/motion/project/builder.rb:238:in `build'
/Users/watson/prj/RubyMotion/lib/motion/project/app.rb:78:in `build'
/Users/watson/prj/RubyMotion/lib/motion/project/template/ios.rb:68:in `block (2 levels) in <top (required)>'
2014-08-28 05:59:50 +09:00
Mark Villacampa
b94afc9d38
Added support for loading target frameworks in extensions
2014-08-27 15:52:39 +02:00
Mark Villacampa
480dcd2e6c
Added support for targets. iOS frameworks supported through the FrameworkTarget class.
2014-08-27 15:50:32 +02:00
Mark Villacampa
d0c759f2c2
Extract Dependency and ParalelBuilder to separate files
2014-08-27 15:49:55 +02:00
Watson
3da04dde6e
[iOS8] fix @executable_path for iOS platform
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-558
2014-08-19 17:00:13 +09:00
Watson
3d1e080c25
fix a bug where vendor library contained in gem causes a build error with system bundled ruby
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-553
2014-08-13 19:11:26 +09:00
Eloy Durán
3a45e058c6
[builder] Quote framework search paths to guard against spaces.
2014-05-08 19:39:43 +02:00
Eloy Durán
1179ac6373
[builder] Do not try to compile completely empty .strings files.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-483
2014-05-01 12:52:17 +02:00
Eloy Durán
2c32806de1
[builder] Also compile .strings files inside other bundles.
2014-04-17 16:23:55 +02:00
Hwee-Boon Yar
165f30fd45
[builder] Compile .strings resource files as binary plists.
...
Signed-off-by: Eloy Durán <eloy.de.enige@gmail.com >
2014-04-17 16:23:55 +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
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
Laurent Sansonetti
f29d89f89a
add magic encoding comments to all ruby source files
2014-03-05 12:20:20 +01:00
Andrew Larssen
aa9cdf5c98
Fix hard coded path that does not honour xcode-select in builder.
...
This is causing problems building amd64 iOS 7.1 using Xcode5.1-Beta3 as it is not in the usual path.
2014-01-17 23:10:32 +09:00
Eloy Durán
8d9fc8082a
Fix builder when not building for OS X.
2014-01-15 14:50:50 +01:00
Eloy Durán
9fe2cad556
[OSX] Add external_frameworks config variable.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-254
2014-01-15 13:20:56 +01:00
Laurent Sansonetti
76c6c2c7f6
pass the target platform to the compiler
2014-01-10 23:54:36 +01:00
Watson
aacac95be9
fix a bug in build system that app cannot be built with Ruby 2.1 when it would use UTF-8 as app name
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-370
2014-01-09 10:44:17 +09:00
Watson
4367f3bf3c
improve build system in order to compile spec files in parallel as much as possible
...
So far, RubyMotion has two phase in compile when run spec (1. compile app files, 2. compile spec files).
it make idle cpu cores when finished to compile app files (before starting to compile spec files).
2013-12-27 14:05:49 +09:00
Laurent Sansonetti
bd8536dbcc
libmacruby -> librubymotion
2013-12-24 18:25:19 +01:00
Laurent Sansonetti
7c758a43a7
in case app.resource_dirs contain duplicated entries, don't freak out
2013-12-09 15:03:11 +01:00
Laurent Sansonetti
cf145c8df4
add a hidden variable to force symbol strip (ex. rake device __strip__=1)
2013-11-01 17:50:15 +01:00
Eloy Durán
61e9a65534
[profiler] Refactor rake tasks into the Config and Builder classes.
2013-10-31 17:46:22 +01:00
Laurent Sansonetti
edcdf29ed6
ship only one libmacruby-repl.dylib file per platform, the one that has been built with the lowest deployment target (4.3 for ios and 10.7 for osx)
2013-10-30 23:54:57 +01:00
Laurent Sansonetti
b192251af0
[OSX] optional #eval support (experimental)
2013-10-21 02:12:49 +02:00
Laurent Sansonetti
5a6924c933
print an error in case we try to build for a certain RubyMotion platform that isn't supported (data directory doesn't exist)
2013-10-20 18:17:37 +02:00
Watson
ba2670895d
just remove the path which ends with `.lproj'
...
This patch will
- remove "./resources/en.lproj" path
- accept "./resources/en.lproj/MainStoryboard.storyboardc"
If we accepted "./resources/en.lproj",
it will allow to copy all the files in "./resources/en.lproj" directory.
However, we need to reject "./resources/en.lproj/MainStoryboard.storyboard".
So, we just remove "./resources/en.lproj" path.
2013-10-15 09:58:28 +09:00
Eloy Durán
6d8488a674
[xcassets] All files that are to be preserved are in preserve_resources.
2013-10-14 15:59:24 +02:00
Eloy Durán
cd9b1a3404
[xcassets] Show compile info to user when not in verbose mode.
2013-10-14 15:56:11 +02:00
Eloy Durán
12972f9271
[xcassets] Extract actool warnings and propagate to the user.
2013-10-14 15:49:57 +02:00
Eloy Durán
105d98c3d8
[xcassets] Simplify actool output parsing and only print in verbose mode.
2013-10-14 15:17:19 +02:00
Eloy Durán
d22f82ebb0
[xcassets] Move iOS/OS X specific behavior back to configs.
2013-10-14 13:52:32 +02:00
Eloy Durán
f84096688a
[xcassets] Use output of actool to determine compiled assets to preserve.
2013-10-11 20:34:40 +02:00
Eloy Durán
3be82b061b
[xcassets] Use actool’s Info.plist output instead of reading JSON.
2013-10-11 20:20:30 +02:00
Eloy Durán
2490d6c0a2
[xcassets] No longer copy icons ourselves on iOS.
2013-10-11 19:09:20 +02:00
Eloy Durán
dc30e06639
[xcassets] Fix preservation of app icons on iOS.
2013-10-11 18:55:21 +02:00
Eloy Durán
369c15e0e3
[xcassets] Make asset compilation and app icon config work on OS X.
2013-10-11 18:50:56 +02:00
Eloy Durán
b331fab440
[xcassets] Copy and configure the app icons for iOS.
2013-10-10 19:57:48 +02:00
Eloy Durán
5678c6c88f
[xcassets] Do not include uncompiled asset bundles in the product.
2013-10-10 19:57:41 +02:00
Eloy Durán
fb53d3e2f0
[xcassets] actool uses path info from bundle unless full build path is specified.
2013-10-10 17:10:32 +02:00
Eloy Durán
713ec6f38a
[xcassets] Don’t delete compiled assets from the app bundle.
2013-10-10 16:58:41 +02:00
Eloy Durán
e22816c000
[xcassets] Compile resources_dirs/*.xcassets into the app bundle.
2013-10-10 16:54:11 +02:00
Laurent Sansonetti
1742f1625b
more arm64 support
2013-09-11 18:08:45 +02:00