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
Eloy Durán
1c4953f026
[xcassets] All files that are to be preserved are in preserve_resources.
2013-10-15 21:22:23 +09:00
Eloy Durán
12307f01bb
[xcassets] Show compile info to user when not in verbose mode.
2013-10-15 21:22:16 +09:00
Eloy Durán
6504f1a9dd
[xcassets] Extract actool warnings and propagate to the user.
2013-10-15 21:22:04 +09:00
Eloy Durán
999e83a823
[xcassets] Simplify actool output parsing and only print in verbose mode.
2013-10-15 21:21:57 +09:00
Eloy Durán
322ebc6863
[xcassets] Move iOS/OS X specific behavior back to configs.
2013-10-15 21:21:52 +09:00
Eloy Durán
ba029b744a
[xcassets] Use output of actool to determine compiled assets to preserve.
2013-10-15 21:21:46 +09:00
Eloy Durán
4c1beff6a2
[xcassets] Use actool’s Info.plist output instead of reading JSON.
2013-10-15 21:21:41 +09:00
Eloy Durán
b100859e2a
[xcassets] No longer copy icons ourselves on iOS.
2013-10-15 21:21:34 +09:00
Eloy Durán
9ce4cda2a9
[xcassets] Fix preservation of app icons on iOS.
2013-10-15 21:21:29 +09:00
Eloy Durán
d9021b682c
[xcassets] Make asset compilation and app icon config work on OS X.
2013-10-15 21:20:55 +09:00
Eloy Durán
1033f302d8
[xcassets] Copy and configure the app icons for iOS.
2013-10-15 21:20:23 +09:00
Eloy Durán
d35e174417
[xcassets] Do not include uncompiled asset bundles in the product.
2013-10-15 21:20:16 +09:00
Eloy Durán
8a4105bed9
[xcassets] actool uses path info from bundle unless full build path is specified.
2013-10-15 21:20:11 +09:00
Eloy Durán
c79556bad6
[xcassets] Don’t delete compiled assets from the app bundle.
2013-10-15 21:19:54 +09:00
Eloy Durán
35d6021e68
[xcassets] Compile resources_dirs/*.xcassets into the app bundle.
2013-10-15 21:19:47 +09:00
Laurent Sansonetti
9e6d0ea003
more arm64 support
2013-09-12 22:01:31 +09:00
Laurent Sansonetti
2280ff0db6
no longer need llc
2013-09-12 21:59:49 +09:00
Laurent Sansonetti
ca96d14e75
now always use clang
2013-09-12 21:58:58 +09:00
Watson
4387f74e0e
fix a bug in build system where it cannot build app with Korean as app.name
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-247
1)
String#encode cannot convert from UTF8-MAC to UTF-8 propery.
Looks like iconv library handles it, however Ruby 2.0 does not bundle iconv library.
So, we need to bundle the tool/library to convert the encoding using the Objective-C API in order to convert reliably.
If we bundled it as Ruby C extension library, it will not work between 1.8/1.9/2.0 because Ruby 1.8/1.9/2.0 have not binary compatibility.
So, we need to bundle three binaries for 1.8/1.9/2.0.
Therefore, we bundles an executable binary to convert the encoding.
2)
If we converted from NFD to NFC, it might not match between original NFC and converted NFC even if we used Objective-C API.
We should normalized with NFD where it handles the string which retrived from filesystem.
2013-09-12 21:58:05 +09:00
Hwee-Boon Yar
794b0506af
Fix: platform names generated in Info.plist (DTSDKName and DTPlatformName)
2013-09-06 22:50:48 +08:00
Laurent Sansonetti
0739b4852b
build the bs flags only once
2013-08-25 22:04:38 +09:00
Laurent Sansonetti
fa5169f795
add support for spritekit atlas files
2013-08-20 07:37:17 +09:00
Laurent Sansonetti
c285b33547
osx: only strip x86_64 symbols
2013-08-20 07:36:12 +09:00
Watson
ec70ec8c28
improve the build system in order to compile spec files with parallel
2013-07-24 23:07:59 +09:00
Watson
2afbcd0cb1
fix where it does not generate 64bit type into brigesupport in 3rd-party library on MacOSX platform
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-192
2013-07-10 21:21:08 +09:00
Laurent Sansonetti
22cba43496
rake build now honors the 'keep_temps' env variable, if set, llvm bitcode and asm files will not be deleted from the build directory
2013-07-10 21:20:50 +09:00
Watson
b40a4b55ee
fix a bug in `rake device' where it could not build app which has target to less than iOS 7.0
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-182
add `-stdlib=libstdc++' for linker
2013-06-27 23:24:03 +09:00
Laurent Sansonetti
2f07401cb6
define RUBYMOTION_ENV earlier
2013-06-25 19:46:38 +09:00
Laurent Sansonetti
5a8179ed95
use llvm-gcc for .rb compilation, retrieve compilers from stable Xcode (in the meantime we really migrate to clang)
2013-06-14 01:02:53 +09:00
Colin T.A. Gray
0345af91b2
added Clay's 'exclude_from_detect_dependencies' feature
2013-06-13 09:38:19 -06:00
Watson
b35c1ab341
added embedded frameworks support (OSX-only)
2013-06-09 21:06:48 +09:00
Watson
495828a495
fix a bug in detecting file dependencies where it will not detect dependencies if contains nested constants
...
http://hipbyte.myjetbrains.com/youtrack/issue/RM-160
2013-06-05 14:58:00 +09:00
Laurent Sansonetti
cfc7bfdb3c
osx: add 'rake archive' tasks, refactor the builder archive/codesign code
2013-05-10 00:44:33 +09:00
Watson
16fe9818d7
abort if build directory is not writable.
2013-05-10 00:43:52 +09:00
Watson
d3f7381361
check whether build directory is writable. if it is not writable, use ./build in project directory as in the past
2013-05-10 00:43:47 +09:00
Watson
6c3ab0e10d
fix a regression of 5a39c5f381
2013-05-10 00:40:47 +09:00