Mark Villacampa
4b53530774
Fix .strings compilation
2015-03-28 21:17:53 +09:00
Mark Villacampa
3c39c38fea
Fix .strings compilation
2015-03-28 21:17:34 +09:00
Mark Villacampa
e726e2410e
Do not recompile .strings files every time
2015-03-28 21:16:28 +09:00
Watson
b6bcd38e19
[libdwarf] introduce "app.embed_dsym" in order to enable/disable embedding dSYM into app
2015-03-19 13:54:47 +09:00
Watson
8dedfda2ae
[libdwarf] remove embedded dSYM to ensure that copy dSYM into app
2015-03-19 13:54:41 +09:00
Watson
ecc65d5578
[libdwarf] ensure that the dSYM is always updated in the application bundle when the app executable is rewritten
2015-03-19 13:54:34 +09:00
Eloy Durán
11d81ea612
[libdwarf] Cop dSYM bundle into application.
2015-03-19 13:54:11 +09:00
Watson
d7dd31324e
ensure that set `true' in any_obj_file_built when files were built
2015-03-19 13:53:01 +09:00
Laurent Sansonetti
76a9ade2d7
add app.custom_init_funcs (only for internal use)
2015-03-19 13:52:32 +09:00
Watson
3936235ceb
[RM-740] embed Dwarf Debug info version which is actually used by Xcode
2015-02-05 07:41:53 +09:00
Eloy Durán
91a15389f9
[iOS] Silence strip in non-verbose mode.
2014-12-30 11:09:33 +09:00
Eloy Durán
248ec511a7
[WatchKit] Honor xcode_dir setting from host app.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-690
2014-12-30 11:02:01 +09:00
Eloy Durán
4f7f580f5b
[iOS/WatchKit] Add support for UILaunchImages from an asset catalog.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-297
2014-12-12 08:12:02 +09:00
Eloy Durán
e59483a0b6
[WatchKit] Compile asset bundles.
2014-12-12 08:09:35 +09:00
Eloy Durán
dbd9a8dca8
[WatchKit] Generate an Info.plist for the watch app.
2014-12-12 08:04:27 +09:00
Watson
dc307d9b48
[RM-669] fix a regression which RubyMotion static library causes link error in Xcode project
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-669
2014-12-12 07:47:20 +09:00
Laurent Sansonetti
4ba3575bb7
make sure the builder archs does not contain duplicates
2014-11-06 00:06:08 +09:00
Watson
fc73bfeefb
not embed kernel-*.bc into each compiled files
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-652
2014-11-05 22:40:23 +09:00
Laurent Sansonetti
fde9580e7f
simplify the arm64 object compilation even better + fix warnings due to overriding the module triple
2014-10-13 23:37:57 +09:00
Laurent Sansonetti
fe29e58894
simplify the arm64 object file generation
2014-10-13 23:37:52 +09:00
Laurent Sansonetti
dd49cb621a
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-13 23:37:02 +09:00
Eloy Durán
56bf7b9914
[builder] Specify object files to linker in a temp file.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-62 .
2014-09-23 16:36:22 +09:00
Watson
d1f9ff1668
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-29 14:41:23 +09:00
Mark Villacampa
e1db70f1fe
Fix all the extension templates
2014-08-27 22:18:40 +02:00
Mark Villacampa
5c1dd426f7
Added support for loading target frameworks in extensions
2014-08-27 03:52:57 +02:00
Mark Villacampa
626fa99b13
Added support for targets. iOS frameworks supported through the FrameworkTarget class.
2014-08-26 20:08:19 +02:00
Mark Villacampa
e4c346f889
Extract Dependency and ParalelBuilder to separate files
2014-08-26 01:12:17 +02:00
Watson
38cdf2accf
[iOS8] fix @executable_path for iOS platform
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-558
2014-08-20 16:27:03 +09:00
Watson
745a3f942a
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-20 16:24:48 +09:00
Eloy Durán
e70f2f88e1
[builder] Quote framework search paths to guard against spaces.
2014-05-16 03:30:52 +09:00
Eloy Durán
88255a80d8
[builder] Do not try to compile completely empty .strings files.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-483
2014-05-16 03:30:01 +09:00
Eloy Durán
07c4f8936b
[builder] Also compile .strings files inside other bundles.
2014-04-17 16:39:57 +02:00
Hwee-Boon Yar
7e3ca1b929
[builder] Compile .strings resource files as binary plists.
...
Signed-off-by: Eloy Durán <eloy.de.enige@gmail.com >
2014-04-17 16:39:47 +02:00
Watson
506f6545f3
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:52:49 +09:00
Watson
85c2ba6b91
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 22:31:26 +09:00
Laurent Sansonetti
a7c839173c
add magic encoding comments to all ruby source files
2014-03-05 21:35:20 +09:00
Eloy Durán
1ff4515555
Fix builder when not building for OS X.
2014-01-28 21:22:22 +09:00
Eloy Durán
46cc8ba2df
[OSX] Add external_frameworks config variable.
...
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-254
2014-01-28 21:21:45 +09:00
Laurent Sansonetti
349f95e7b8
pass the target platform to the compiler
2014-01-28 21:21:07 +09:00
Watson
723165b724
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-28 21:20:33 +09:00
Andrew Larssen
1ea2f8abfa
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 12:05:32 +00:00
Watson
252592c4f2
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-30 23:11:04 +09:00
Laurent Sansonetti
07ab0769d5
libmacruby -> librubymotion
2013-12-30 23:10:32 +09:00
Laurent Sansonetti
7d058064e7
in case app.resource_dirs contain duplicated entries, don't freak out
2013-12-13 09:28:25 +09:00
Laurent Sansonetti
666d4bdd67
add a hidden variable to force symbol strip (ex. rake device __strip__=1)
2013-11-03 21:17:14 +09:00
Eloy Durán
e7d290eb8e
[profiler] Refactor rake tasks into the Config and Builder classes.
2013-11-02 11:45:35 +09:00
Laurent Sansonetti
77cdfbc064
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-11-02 11:44:28 +09:00
Laurent Sansonetti
93d4c37408
[OSX] optional #eval support (experimental)
2013-11-02 11:41:11 +09:00
Laurent Sansonetti
217c82f020
print an error in case we try to build for a certain RubyMotion platform that isn't supported (data directory doesn't exist)
2013-11-02 11:41:02 +09:00
Watson
8edd2ff018
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 21:23:15 +09:00