74 Commits

Author SHA1 Message Date
Eloy Durán
478472308c [rake] Re-instate top-level clean task and refactor into XcodeConfig.
Related to:
* 646cbb1918
* bddc880f98
2014-10-17 12:55:57 +02:00
Eloy Durán
646cbb1918 [Vendor] Use xcodebuild to properly clean.
This is needed to solve any cache issues, such as
the dreaded SharedPrecompiledHeaders issue.

See:

* https://github.com/clayallsopp/afmotion/issues/72
* http://openradar.appspot.com/18536864
2014-10-08 19:00:00 +02:00
Laurent Sansonetti
fdf87c05d2 don't check for updates if we build a target 2014-09-06 19:00:06 +02:00
Laurent Sansonetti
10499593c4 move the `rake clear’ logic to platform-specific config files 2014-05-15 20:04:17 +02:00
Watson
c7aa81f8cf update variable name
because it contains also non bridge support files.
2014-04-03 10:11:31 +09:00
Hwee-Boon Yar
0850987a37 Include app's source code when running rake ctags 2014-04-03 09:15:23 +09:00
Laurent Sansonetti
f29d89f89a add magic encoding comments to all ruby source files 2014-03-05 12:20:20 +01:00
Laurent Sansonetti
d1f6429597 [OSX] fix crashlog task 2014-01-10 14:10:09 +01:00
Laurent Sansonetti
9f4d9e01c7 add 'rake crashlog:device' task, wording/UX is still a work in progress 2013-12-29 19:55:48 +01:00
Eloy Durán
99df3e011b [rake] Raise error if cleaning does not succeed.
Fixes https://hipbyte.freshdesk.com/helpdesk/tickets/1359.
2013-11-18 11:49:09 +01:00
Laurent Sansonetti
384e2ebc76 add clean:all task which calls 'clean' then deletes ~/Library/RubyMotion/build 2013-10-08 21:47:01 +02:00
Laurent Sansonetti
ee7ceb0d1f fix escaping + print message if there are no crash logs 2013-08-07 14:30:43 +02:00
Clay Allsopp
ed0fcf5455 Fix shell escaping for file names 2013-07-24 23:04:07 +09:00
Laurent Sansonetti
59e829527e fix wording 2013-07-22 20:19:06 +02:00
Watson
1795f11a0f move `rake crashlog' task into project.rb 2013-07-22 20:18:18 +09:00
Kristian Freeman
d193d6dd4b Adds a check in the rake clean process for nib/xib existence.
Fixes #78 by checking for the existence of a xib when attempting to clean a nib file. If a xib file exists, delete the nib; otherwise, delete it.
2013-06-23 16:57:12 +09:00
Laurent Sansonetti
9b178b69af move ctags to basic project rakefile so that it works with osx 2013-05-29 20:15:14 +09:00
Tom Milewski
39691640ef Correct the path to template.
Users are being notified to require a file ('lib/motion/project/template/ios') that doesn't exist when called from a project's Rakefile.
2013-05-11 22:04:35 +09:00
Laurent Sansonetti
cb4a5876f2 print message from license server upon /latest_software_version 2013-05-08 15:58:49 +02:00
Laurent Sansonetti
105a915f3d mac port 2013-04-25 02:26:56 +02:00
Watson
5573cc442a fix a bug which iOS simulator will be re-launched at every time with `rake'
RM-52 Should not re-launch iOS simulator at every time with `rake'
2013-02-26 13:31:00 +09:00
Watson
08341aef38 fix a bug which does not launch iOS simulator when `app.xcode_dir' is specified a path other than the '/Applications' folder 2013-02-26 11:14:22 +09:00
Watson
b17e5bb7e4 `app.resources_dir' will be deprecated 2013-02-26 01:00:51 +09:00
Watson
a160a13cc1 add a feature to support multiple resource directories
change `app.resources_dir' to accept an Array too, like:

    app.resources_dir = ["resources", "vendor/GoogleMaps.framework/Resources"]
2013-02-25 15:45:02 +09:00
Laurent Sansonetti
3b4557a014 fix 'rake spec' to always exit() based on the return code, to workaround race conditions with the new iOS 6 simulator 2012-10-09 18:05:40 +02:00
Laurent Sansonetti
25cd38f010 load UIAutomation dynamically, add 'spec:device' task which runs the specs on the device 2012-10-06 16:20:02 +02:00
Laurent Sansonetti
f87379dbb5 merge contributions from github 2012-09-26 16:20:29 +02:00
Laurent Sansonetti
c41ffd4bd8 the build mode can now be specified using the 'mode 2012-09-19 15:09:12 +02:00
Laurent Sansonetti
472cd8a6fd start debugger if any value is passed to 'debug' 2012-09-15 16:58:01 +02:00
Laurent Sansonetti
d8df013ceb add debugger (experimental) 2012-09-15 16:00:37 +02:00
Laurent Sansonetti
f662faa61c rake simulator's 'retina' option can now take 3.5 and 4 as values (for iphone5 retina mode) 2012-09-14 18:07:16 +02:00
Laurent Sansonetti
a71f934c67 rake device now honors id env variable 2012-08-31 16:49:29 +02:00
Laurent Sansonetti
cf862975f0 remove bundler support 2012-07-12 23:42:08 +02:00
Laurent Sansonetti
b8efe8147b only require bundler if there is a Gemfile 2012-07-12 23:32:15 +02:00
Laurent Sansonetti
16e60e573f ignore output of killall command 2012-07-12 22:23:03 +02:00
Laurent Sansonetti
eafdc2da60 quit the simulator before changing its defaults 2012-07-12 21:42:38 +02:00
Laurent Sansonetti
c1611ac388 bundler is now optionally loaded 2012-07-10 21:19:55 +02:00
Laurent Sansonetti
2edd313f81 static library support 2012-07-01 23:47:55 +02:00
Laurent Sansonetti
d492a850d6 fix regression 2012-06-18 23:43:02 +02:00
Laurent Sansonetti
addb4a25c0 rake simulator now honors deployment_target option, fixed bug when supporting deployment_target 2012-06-15 13:04:56 +02:00
Laurent Sansonetti
6e6bac9077 pass sdk_version instead of deployment_target when starting the sim 2012-06-06 17:39:11 +02:00
Laurent Sansonetti
21cb18495c new license headers, validate app.icons 2012-06-03 20:19:57 +02:00
Laurent Sansonetti
94234cddd5 don't open the sim in foreground when running in spec mode 2012-05-30 13:51:03 +02:00
Laurent Sansonetti
a7ad4d25d2 oops 2012-05-14 12:59:06 +02:00
Laurent Sansonetti
0b3002d77f use a separate env var 2012-05-14 12:58:13 +02:00
Laurent Sansonetti
8b29abe056 retina mode support 2012-05-14 12:54:14 +02:00
Laurent Sansonetti
fa8e0335ba add support for coredata models and storyboard files 2012-05-13 22:28:30 +02:00
Laurent Sansonetti
da79e7ea7c support for nib files 2012-05-09 12:09:24 +02:00
Laurent Sansonetti
91fba09719 disable the automatic loading of motion- gems 2012-05-09 00:01:10 +02:00
Laurent Sansonetti
87298c9b6f add copyright headers 2012-04-24 18:26:30 +02:00