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
Laurent Sansonetti
ca412676cf
no longer need llc
2013-09-09 00:03:35 +02:00
Laurent Sansonetti
6da5c7f4ec
now always use clang
2013-09-08 03:06:48 +02:00
Hwee-Boon Yar
f99852081d
Fix: platform names generated in Info.plist (DTSDKName and DTPlatformName)
2013-09-07 00:07:02 +09:00
Watson
39fe258508
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-02 14:28:51 +09:00
Laurent Sansonetti
ab276a5d18
build the bs flags only once
2013-08-20 18:01:21 +02:00
Laurent Sansonetti
c0fdf58e1a
add support for spritekit atlas files
2013-08-16 22:37:24 +02:00
Laurent Sansonetti
9e8b17013c
osx: only strip x86_64 symbols
2013-08-09 16:44:28 +02:00
Watson
6164f93ed8
improve the build system in order to compile spec files with parallel
2013-07-24 21:48:11 +09:00
Watson
a8a76ad537
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 11:03:39 +09:00
Laurent Sansonetti
1047948afc
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-04 15:11:36 +02:00
Watson
1d19b3be22
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-26 14:51:25 +09:00
Watson
484aca3a66
Revert "fix a bug in `rake device' where it could not build app which has target to less than iOS 7.0"
...
This reverts commit d3e1ebac00 .
2013-06-26 14:49:39 +09:00
Watson
d3e1ebac00
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-26 12:41:42 +09:00
Colin T.A. Gray
11830eade4
added Clay's 'exclude_from_detect_dependencies' feature
2013-06-17 08:14:05 +09:00
Laurent Sansonetti
b27e896ec1
define RUBYMOTION_ENV earlier
2013-06-13 16:18:24 +02:00
Laurent Sansonetti
22cc5b206f
use llvm-gcc for .rb compilation, retrieve compilers from stable Xcode (in the meantime we really migrate to clang)
2013-06-11 20:27:49 +02:00
Laurent Sansonetti
15e9990a62
added embedded frameworks support (OSX-only)
2013-06-08 14:41:45 +02:00
Watson
7361d1a879
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:47:36 +09:00
Laurent Sansonetti
d9f670252e
osx: add 'rake archive' tasks, refactor the builder archive/codesign code
2013-05-07 16:51:17 +02:00
Watson
8ab36f94f0
abort if build directory is not writable.
2013-05-06 20:33:00 +09:00
Watson
c456aad83b
check whether build directory is writable. if it is not writable, use ./build in project directory as in the past
2013-05-06 16:55:24 +09:00
Watson
4304aaadc9
fix a regression of 5a39c5f381
2013-05-03 05:31:31 +09:00
Watson
0c10064426
refactor
2013-04-30 01:24:30 +09:00
Watson
0410711198
more fix in detecting file dependencies
...
if add the constant name into @defined and @referred in #on_const_path_ref,
it might not detect dependencies.
2013-04-29 22:05:28 +09:00
Watson
8591584570
make sure to create a Resources directory for mac
...
Fix the following error:
$ motion create hello --template=osx
$ cd hello
$ rm -rf resources
$ rake
Build ./build/MacOSX-10.8-Development
Compile ./app/app_delegate.rb
Compile ./app/menu.rb
Create ./build/MacOSX-10.8-Development/hello.app/Contents
Create ./build/MacOSX-10.8-Development/hello.app/Contents/MacOS
Link ./build/MacOSX-10.8-Development/hello.app/Contents/MacOS/hello
Create ./build/MacOSX-10.8-Development/hello.app/Contents/Info.plist
Create ./build/MacOSX-10.8-Development/hello.app/Contents/PkgInfo
rake aborted!
No such file or directory - ./build/MacOSX-10.8-Development/hello.app/Contents/Resources
2013-04-29 12:28:09 +09:00
Watson
027df612ab
Revert "make sure to create a Resources directory for mac"
...
This reverts commit 71ed8ce9b3 .
This changing causes the following error:
% mkdir -p resources/en.lproj
% touch resources/en.lproj/InfoPlist.strings
% rake
Build ./build/iPhoneSimulator-6.1-Development
Compile ./app/app_delegate.rb
Create ./build/iPhoneSimulator-6.1-Development/tt.app
Link ./build/iPhoneSimulator-6.1-Development/tt.app/tt
Create ./build/iPhoneSimulator-6.1-Development/tt.app/Info.plist
Create ./build/iPhoneSimulator-6.1-Development/tt.app/PkgInfo
Copy ./resources/Default-568h@2x.png
Copy ./resources/en.lproj/InfoPlist.strings
rake aborted!
2013-04-29 12:25:56 +09:00
Watson
2bbc2752cd
forget to add a passing argument into another build_file.call
2013-04-28 20:23:28 +09:00
Watson
71ed8ce9b3
make sure to create a Resources directory for mac
...
Fix the following error:
$ motion create hello --template=osx
$ cd hello
$ rm -rf resources
$ rake
Build ./build/MacOSX-10.8-Development
Compile ./app/app_delegate.rb
Compile ./app/menu.rb
Create ./build/MacOSX-10.8-Development/hello.app/Contents
Create ./build/MacOSX-10.8-Development/hello.app/Contents/MacOS
Link ./build/MacOSX-10.8-Development/hello.app/Contents/MacOS/hello
Create ./build/MacOSX-10.8-Development/hello.app/Contents/Info.plist
Create ./build/MacOSX-10.8-Development/hello.app/Contents/PkgInfo
rake aborted!
No such file or directory - ./build/MacOSX-10.8-Development/hello.app/Contents/Resources
2013-04-27 11:02:12 +09:00
Watson
872683e177
pass the build directory as block parameter
...
Proc does not introduce a variable as Proc's scope.
When build process is worked in parallel, the value of the variable is updated in the another build process.
2013-04-27 10:05:23 +09:00
Watson
fcd144d3a9
fix a bug in detecting file dependencies which cannot detect dependency when declare class/module with like "class XXX::YYY"
...
use @defined :
module XXX::YYY
...
end
use @referred :
class ZZZ
include XXX::YYY
...
end
add the value to @defined and @referred both,
because build system will cut the cyclic references.
2013-04-26 23:03:51 +09:00
Watson
6f48fd5d0b
change the build directory for outside files of project
...
This changing will introduce:
1. When run 'rake clean', the object files of gem is not removed. To reduce the time when rebuild the project.
2. Across multiple projects that use the same gem, this changing will share the object files.
3. When update RubyMotion with 'motion update', it will remove the object files to clean up disk space.
2013-04-25 22:23:19 +09:00
Watson
c3574eb3c2
use i386 binary Ruby when build app for ARM
2013-04-25 17:35:37 +09:00
Laurent Sansonetti
105a915f3d
mac port
2013-04-25 02:26:56 +02:00