Watson
92cba4372c
fix "undefined local variable or method `embedded_frameworks'"
2014-08-20 18:16:00 +09:00
Mark Villacampa
f1367ced8d
Added support for codesigning extensions.
...
Conflicts:
lib/motion/project/template/ios/builder.rb
2014-08-20 18:12:38 +09:00
Mark Villacampa
c41a05ef4b
further extracting methods from the builder
...
Conflicts:
lib/motion/project/builder.rb
2014-08-20 18:10:32 +09:00
Mark Villacampa
f15b4875da
refactoring builder into reusable methods
...
Conflicts:
lib/motion/project/builder.rb
2014-08-20 18:08:06 +09:00
Mark Villacampa
28a766074e
initial support for extensions
...
Conflicts:
lib/motion/project/xcode_config.rb
2014-08-20 18:04:17 +09: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
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