Commit Graph

356 Commits

Author SHA1 Message Date
Eloy Durán
a4fe35523c [Vendor] BS files for :xcode projects are collected differently than :static. 2014-02-04 07:50:56 +09:00
Eloy Durán
95b61b826c [Vendor] Always explicitely create the dir where the BS will be stored.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-417.
2014-02-04 07:50:47 +09:00
Eloy Durán
1ce7f3eb81 [Vendor] BS files should also go in the platform specific build dir.
* Because they can be different per platform.
* Because this way they are deleted as part of `rake clean.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-416
2014-02-03 22:22:59 +09:00
Eloy Durán
7f50c3cde5 [iOS Config] Retrieve DTSDKBuild & DTPlatformBuild programatically.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-415.
2014-02-03 22:22:51 +09:00
Eloy Durán
80da9e62c1 [Vendor] Use MACOSX_DEPLOYMENT_TARGET when building for OS X.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-412
2014-02-03 22:22:00 +09:00
Eloy Durán
f9dd827ab2 [Command] Allow gems to register templates and show in help banner.
Load available templates list as late as possible.
2014-01-28 21:43:30 +09:00
Eloy Durán
05040c0a82 [Command] Deprecate Motion::Project::Command, long live Motion::Command!
Some of our commands are not related to ‘a project’ at all, so the
namespacing felt incorrect, but this also helps greatly for the
transition process. I.e. old command plugins will inherit from the
deprecated class and still work and we get to re-use the `Command` name.
2014-01-28 21:42:38 +09:00
Eloy Durán
d15366daa4 [command] Change some validations to show help banner. 2014-01-28 21:31:32 +09:00
Eloy Durán
0888aa3436 [command] Move all command classes into the Command namespace. 2014-01-28 21:31:21 +09:00
Eloy Durán
8f77e1cd76 [command] Small cleanup. 2014-01-28 21:30:59 +09:00
Eloy Durán
48bd65c628 [command] Add informative error example that optionally shows backtraces. 2014-01-28 21:30:54 +09:00
Eloy Durán
97c92ea182 [command] Make create command work again. 2014-01-28 21:30:50 +09:00
Eloy Durán
33f77e71ac [command] Make the device-console command work again. 2014-01-28 21:30:46 +09:00
Eloy Durán
092f96e338 [command] Some refactoring/cleaning. 2014-01-28 21:30:41 +09:00
Eloy Durán
a17d90a1f6 [command] Make the ri command work again. 2014-01-28 21:30:36 +09:00
Eloy Durán
07086d18bb [command] Make RubyMotion main description a bit better. 2014-01-28 21:30:30 +09:00
Eloy Durán
771025e005 [command] Take the update command apart a bit. 2014-01-28 21:30:25 +09:00
Eloy Durán
d19ecaff33 [command] Make update command work again. 2014-01-28 21:30:21 +09:00
Eloy Durán
c42239828c [command] Make support command work again. 2014-01-28 21:30:15 +09:00
Eloy Durán
0ca3c367ba [command] Make the activate command work again. 2014-01-28 21:30:11 +09:00
Eloy Durán
8be728d90c [command] Make the account command work again. 2014-01-28 21:30:06 +09:00
Eloy Durán
ea24ea74a5 [command] Make the changelog command work again. 2014-01-28 21:30:01 +09:00
Eloy Durán
b211e310c2 [command] Change base class to use CLAide::Command. 2014-01-28 21:29:03 +09:00
Eloy Durán
16c19e5a20 [test] Make iOS UI helper search from the key window instead.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-382.
2014-01-28 21:24:14 +09:00
Eloy Durán
ba64b5644b [vendor] Default to :cflags option for BS generation.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-388.
2014-01-28 21:23:30 +09:00
Eloy Durán
53cf90f2bb [vendor] Accept glob patterns for the `source_files' option.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-317.
2014-01-28 21:22:45 +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
Laurent Sansonetti
32988db314 [OSX] fix crashlog task 2014-01-28 21:20:49 +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
Laurent Sansonetti
89cbd07a25 add 'rake crashlog:device' task, wording/UX is still a work in progress 2013-12-30 23:11:42 +09: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
Eloy Durán
53b7424127 [sim] Get simulated app PID as int instead of NSNumber.
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
2013-12-30 23:09:48 +09:00
Eloy Durán
1d7b8b19a9 [sim] Make app launch again with Xcode 5.1.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-365
2013-12-30 23:09:03 +09:00
Eloy Durán
756dc13150 [vendor] Actually add our custom XCPretty printer. 2013-12-30 23:06:36 +09:00
Eloy Durán
11bcc3d370 [vendor] Use custom XCPretty printer when building an Xcode project. 2013-12-30 23:05:12 +09:00
Eloy Durán
cc15311759 De-register spec app for notifications first. 2013-12-20 12:26:09 +01:00
Jason W. May
b6d9df25c0 Ignore spurious UIApplicationDidBecomeActiveNotification events.
Signed-off-by: Eloy Durán <eloy.de.enige@gmail.com>
2013-12-20 12:17:10 +01:00
Eloy Durán
06d8802db6 [UIAutomation] Make the drag command actually send events again.
However, for the moment this only works with 1 touch at a time.
2013-12-13 10:56:43 +09:00
Watson
ca35b95be2 Revert "fix where Boxed#new doesn't work for GLKKit structure."
This reverts commit ac89cf6b4b.

http://hipbyte.myjetbrains.com/youtrack/issue/RM-342
Because this patch causes a conflict between method's structure signature and bridgesupport's structure signature
2013-12-13 09:29:06 +09:00
Laurent Sansonetti
a6de0f4021 [OSX] add app.codesign_for_release (default to true) which controls if we need to code-sign for build:release 2013-12-13 09:28:31 +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
Eloy Durán
4e9bb5f89e [vendor] Ensure that all cflags are properly quoted.
Before it looked like the `-isysroot \"#{sdk_path}\"` part of the cflags
would terminate the string passed to the `--cflags` option.

Now all the contents of the `--cflags` option is quoted using
single-quotes instead.
2013-12-13 09:10:22 +09:00
toshiwo
02cf8d5e1d support nested directory
* https://github.com/HipByte/RubyMotion/pull/144#issuecomment-29203864
2013-11-25 23:18:57 +09:00
toshiwo
231547a62b support dynamic name directory in template 2013-11-25 22:31:12 +09:00
Eloy Durán
22dac42700 [spec] Deprecate block to the tests method of the view test helpers. 2013-11-20 23:43:40 +09:00
Eloy Durán
440cfc9d25 [rake] Raise error if cleaning does not succeed.
Fixes https://hipbyte.freshdesk.com/helpdesk/tickets/1359.
2013-11-20 23:42:36 +09:00