Commit Graph

207 Commits

Author SHA1 Message Date
Watson
fa28dd86e3 fix a bug which cannot build an app when `app. xcode_dir' contains spaces
RM-40 Can't build with spaces in xcode.app path
2013-02-25 18:22:30 +09:00
Watson
505926d12e fix variable name 2013-02-25 15:56:22 +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
Watson
2ebbd0d9f8 add a feature which creates Default-568h@2x.png' in resource directory by motion create' in order to support 4-inch screen by default 2013-02-12 12:05:27 +09:00
Watson
771b42c674 convert a string encoding which retrieved from filesystem
The OSX filesystem uses UTF8-MAC as file name encoding.
Its encoding has a character that does not match UTF-8 encoding.
(ex, "が" in Japanese)
2013-02-10 02:19:15 +09:00
Watson
a55a36b177 slightly delay the start of spec execution
Because #tap method does not work when use a high performance machine
2013-02-07 16:26:09 +09:00
yury
03c33372d7 Speed up build a little bit.
We use rubymotion v1.30 with new automatically detected file dependencies. We have very slow builds (about 30 secs on not cold builds) in project with only 52 ruby files.
After investigating I found that almost all build time rubymotion spend in `Motion::Project::Config#ordered_build_files` (about 24 secs).
`Array#uniq` does exactly what `orderd_build_files` is doing but much much faster.
With this change `Motion::Project::Config#ordered_build_files` takes only about 0.06 secs on my machine.
2013-01-23 15:13:44 +09:00
Watson
46583198af add app/pixate_code.rb into the default .gitignore file because it contains the Pixate license key 2013-01-20 17:43:36 +09:00
Watson
b69859fbdf fix a bug in detecting dependencies where it would cause build error when passed non-flat array into `app.files' 2013-01-15 15:53:25 +09:00
Watson
24fa3e1eb8 add .idea which is RubyMine project directory into the default .gitignore file 2012-12-25 10:43:49 +09:00
Watson
794c307fd1 add .sass-cache directory into the default .gitignore file 2012-12-25 10:35:00 +09:00
Watson
1132ae6ff7 fix a bug which cannot detecting file dependencies when include a nesting class
This patch will fix https://gist.github.com/4160705
2012-11-28 23:57:50 +09:00
Watson
96f39d66ea fix a build error when app files is not passed as flat array. 2012-11-17 18:18:51 +09:00
Watson
3992f8e92c remove cyclic dependencies to fix a `stack level too deep' 2012-11-17 14:28:23 +09:00
Watson
5a39c5f381 fix a bug in detection dependency which ignore definition of constants
The files that contains only constants (like a configuration file) have been ignored in detection dependency.

	$ cat app/config.rb
	USER_NAME = "Watson"
	MAIL = "watson1978@gmail.com"
2012-11-17 12:34:15 +09:00
Watson
7abb10940c fix the load path to load ripper for Ruby 1.8 2012-11-14 11:50:07 +09:00
Watson
2513369a65 change the default value in detect_dependencies 2012-11-11 21:01:45 +09:00
Watson
ec7f3be3f8 add detect_dependencies variable to resolve file dependencies 2012-11-11 10:02:35 +09:00
Watson
06c1b597ea use ripper gem if use Ruby18 2012-11-10 21:52:34 +09:00
Watson
b39797250f add the feature to resolve file dependencies 2012-11-10 21:22:35 +09:00
Watson
0333964b81 add some temporary files and project files into .gitignore (Thanks, @esummers) 2012-10-26 00:42:00 +09:00
Mark Rickert
2b96f6d638 Add .DS_Store to project created .gitignore 2012-10-26 00:39:29 +09:00
Laurent Sansonetti
35dc2d239e fix passing the UIAutomation bridgesupport file to the compiler 2012-10-22 13:20:26 +02:00
Watson
a40ca882c8 please not remove my patch for framework_search_paths which added in 6c43a2807c 2012-10-11 17:23:10 +09:00
Laurent Sansonetti
696683b104 define RUBYMOTION_VERSION 2012-10-09 14:12:31 +02:00
Watson
864c3e898c fix the build error which causes when app uses the vendor library 2012-10-09 10:02:01 +09:00
Laurent Sansonetti
35d9de09f8 build vendored xcode projects into a .build directory (to not conflict with projects who have a 'build' directory already) 2012-10-08 15:47:49 +02:00
Laurent Sansonetti
657ae69319 fix a precedence operator bug 2012-10-08 13:34:34 +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
d07c72ef49 Merge branch 'master' of github.com:lrz/RubyMotion 2012-10-06 15:49:22 +02:00
Laurent Sansonetti
a0f8ec2698 fix 'rake static' on ios 6 2012-10-06 15:46:58 +02:00
Watson
fb398bcd36 remove all dots from DTXcode value 2012-10-06 21:21:10 +09:00
Watson
6c43a2807c add framework_search_paths property 2012-10-06 19:54:13 +09:00
Laurent Sansonetti
2868fbff4e fix DT plist settings for ios 6.0 2012-10-02 23:02:16 +02:00
Laurent Sansonetti
7d1ff7173d fix gen_bridge_metadata invocation on headers whose paths contain space character 2012-09-27 13:44:40 +02:00
Laurent Sansonetti
f87379dbb5 merge contributions from github 2012-09-26 16:20:29 +02:00
Laurent Sansonetti
b68775875e fix the 'nm' invocation to quote the object path 2012-09-25 18:26:27 +02:00
Laurent Sansonetti
fe45bdc1ed pass IPHONEOS_DEPLOYMENT_TARGET=app.deployment_target to xcodebuild 2012-09-25 18:12:42 +02:00
Watson
2e0a13b126 Fixed a bug in build system. If info_plist is customized at except the setup block end, it might cause build error
ex)

Motion::Project::App.setup do |app|
  # Use `rake config' to see complete project settings.
  app.info_plist['SomeVariable'] = 'SomeValue'
  app.name = 'test_plist'
end
2012-09-25 10:52:08 +09:00
Laurent Sansonetti
b95dda68d1 only strip symbols in distribution mode (because it breaks the repl module otherwise) 2012-09-19 16:39:40 +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
15673529c2 always expand paths of object files 2012-09-18 02:29:03 +02:00
Laurent Sansonetti
be3d99547b set the 'get-task-allow' entitlement to true by default for development builds 2012-09-15 15:59:11 +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
9c5aceb07a use a different bundle identifier when running in spec mode 2012-09-03 21:16:34 +02:00
Laurent Sansonetti
ce0b980148 no longer rebuild .rb files in case the project Rakefile changed 2012-09-03 13:41:04 +02:00
Laurent Sansonetti
13f4e3da2e pass -fobjc-arc to LDFLAGS if the deployment target is 4.3 2012-09-03 13:18:51 +02:00
Laurent Sansonetti
20cb82e731 fix nested xib/storyboard files 2012-09-01 20:33:30 +02:00
Laurent Sansonetti
bacbc9f535 vendored libraries must be created with an object-file index 2012-09-01 15:26:33 +02:00
Laurent Sansonetti
86db0b48b1 create the static library with an object file index 2012-08-14 22:12:27 +02:00