Commit Graph

375 Commits

Author SHA1 Message Date
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
e66590e62b add clean:all task which calls 'clean' then deletes ~/Library/RubyMotion/build 2013-10-11 00:05:29 +09:00
Eloy Durán
9534a30414 [Vendor] Always clean all build dirs, including actual object files.
No need to do it differently for different types of vendoring.
2013-10-11 00:05:07 +09:00
Eloy Durán
a9b0780a4e Merge pull request #134 from katsuma/features/add-context
Add `context` method as `describe` alias
2013-10-10 06:52:06 -07:00
Watson
bdfe767e79 [iOS] fix where non-retina iPad simulator is not launch
if string which indicates to launch iOS simulator for iPad that contains single quotation, (like 'iPad')
non-retina iPad simulator is not launch.
2013-10-07 13:28:28 +09:00
mordaroso
25bf0db52e Fix non-retina iPad simulation in iOS7
Allow to start the simulator with a non-retina iPad with iOS7

merged #133
2013-10-07 13:28:23 +09:00
Watson
fe3b93d464 [iOS] add support to launch the app as 64-bit in simulator
When specified "app.archs['iPhoneSimulator'] << 'x86_64'" and use iOS 7 retina 4 simulator,
we can launch 64-bit simulator.
2013-10-07 13:28:17 +09:00
Watson
36455e3c42 [OSX] fix the wrong default settings of short cut key in menu 2013-09-27 00:29:09 +09:00
Watson
b31d74355d 2.10 2013-09-26 07:37:06 +09:00
Laurent Sansonetti
7eb83e10dd really remove 64-bit build 2013-09-26 07:34:17 +09:00
Laurent Sansonetti
30a24be8d1 run ranlib separately to avoid a warning when creating a universal static archive 2013-09-26 07:34:11 +09:00
Laurent Sansonetti
2bf5bf8d5d escape --isysroot argument 2013-09-26 07:34:02 +09:00
Watson
7f14980b26 fix a bug in `motion update' where comparing version will do unexpected behavior using the string
"2.9" > "2.10" #=> true

So, when we released version 2.10,
Prompting message to update that may not be appeared.
2013-09-26 07:33:49 +09:00
ryo katsuma
db32694ac9 Add context method as describe alias 2013-09-22 00:27:46 +09:00
Laurent Sansonetti
3505592f3e Merge pull request #121 from bracki/patch-1
Always copy over embedded.mobileprovision
2013-09-19 06:13:00 -07:00
Watson
3a0622a9aa fix a bug where "motion device:console" is using same class name with "changelog" command.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-258
2013-09-16 13:25:36 +09:00
Watson
bca9b16dc0 2.9 2013-09-15 10:14:50 +09:00
Watson
d9ca43578b update README.rdoc 2013-09-13 12:33:09 +09:00
Watson
582ff261d4 2.8 2013-09-12 23:23:17 +09:00
Laurent Sansonetti
377919cc21 allow users to customize archs 2013-09-12 22:02:26 +09:00
Watson
0feac329a8 generate 64bit type in bridgesupport if iOS SDK >= 7.0 2013-09-12 22:02:11 +09:00
Laurent Sansonetti
14f0cb174d dup the option hash as we are deleting stuff from it and might have to reuse it in case we build for a different mode (dev+release) 2013-09-12 22:01:49 +09:00
Laurent Sansonetti
f0cc8b08ba ios: in development mode, only build for i386/armv[6-7] for faster builds 2013-09-12 22:01:42 +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
Watson
dccfeb7594 Merge pull request #128 from jamonholmgren/bugfix_update_template_working_tree
Fixed issue where template working trees would not be updated upon git pull
2013-09-06 08:29:01 -07:00
Watson
d6443756bc Merge pull request #129 from hboon/fix-platform-name-in-info-plist
Fix: platform names generated in Info.plist (DTSDKName and DTPlatformName)
2013-09-06 08:09:45 -07:00
Hwee-Boon Yar
794b0506af Fix: platform names generated in Info.plist (DTSDKName and DTPlatformName) 2013-09-06 22:50:48 +08:00
Jamon Holmgren
824166b52b Fixed issue where template working trees would not be updated upon git pull 2013-09-04 08:59:25 -07:00
Watson
e72e1a5e35 Merge pull request #125 from clayallsopp/fix_update
Fix character encoding in UpdateCommand#run
2013-08-27 21:14:43 -07:00
Clay Allsopp
c9bd8459df fix characters in UpdateCommand#run
see https://gist.github.com/clayallsopp/6360189
2013-08-27 16:06:49 -07:00
Watson
ac2adc65a1 2.7 2013-08-27 00:28:34 +09:00
Laurent Sansonetti
93f2ac0c59 add 'motion device:console' command 2013-08-27 00:27:24 +09:00
Laurent Sansonetti
b2c8318954 better indent 2013-08-27 00:27:18 +09:00
Laurent Sansonetti
528667b09f better message 2013-08-27 00:27:12 +09:00
Watson
ee06e07cde fix a bug where ARR_CYCLES_DISABLE are disabled with distributed app
In order to enable ARR_CYCLES_DISABLE, we need to set ARR_CYCLES_DISABLE as environment variable when launch the app.
So, embedded ARR_CYCLES_DISABLE variable into app

http://hipbyte.myjetbrains.com/youtrack/issue/RM-245
2013-08-25 22:05:07 +09:00
Watson
790107a8d4 add a copyright in lldb.py 2013-08-25 22:04:49 +09:00
Laurent Sansonetti
04e5c8f92e app.vendor_projects is defined in config.rb, not xcode_config.rb 2013-08-25 22:04:44 +09:00
Laurent Sansonetti
0739b4852b build the bs flags only once 2013-08-25 22:04:38 +09:00
Jan Brauer
d98894eb11 Always copy embedded.mobileprovision
The `embedded.mobileprovision` should always be copied over in the codesign step. Otherwise subsequent builds with a different provisioning profile will build an incorrect app bundle.
Example use case:
```
rake enterprise # Build an adhoc distribution
rake appstore # Build an appstore release
```
2013-08-20 09:31:48 +02:00
Watson
94bebac686 add Gemfile into gem template 2013-08-20 07:38:10 +09:00
Watson
c96321cd85 add *.gem into .gitignore in gem template 2013-08-20 07:38:00 +09:00
Watson
df5ff5ed1c add 'rake' gem into Gemfile because `bundle exec rake' cause a Gem::LoadError
If run `bundle exec rake' without `rake' gem, the following error is occurred.
% bundle exec rake
/Users/watson/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem': rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
	from /Users/watson/.rbenv/versions/2.0.0-p247/bin/rake:22:in `<main>'
2013-08-20 07:37:53 +09:00
Watson
3b95fa1dce add convenient rake task with "gem" namespace which is contained in "bundler/gem_tasks" 2013-08-20 07:37:47 +09:00
Laurent Sansonetti
fbde6cf83f integrate Bundler 2013-08-20 07:37:30 +09:00
Laurent Sansonetti
fa5169f795 add support for spritekit atlas files 2013-08-20 07:37:17 +09:00