Commit Graph

249 Commits

Author SHA1 Message Date
Colin T.A. Gray
396ff8ed69 Merge pull request #84 from clayallsopp/spec_without_setup
Set `spec_mode` before `setup`
2013-06-13 08:11:41 -07:00
Colin T.A. Gray
2409ae0132 Merge pull request #89 from aceofspades/rake_sim
Added "rake sim" to run simulator without recompiling.
2013-06-13 08:10:08 -07:00
Colin T.A. Gray
49a04f96b4 Merge pull request #91 from danieldickison/master
Set NSZombieEnabled=YES in simulator by passing zombie=1 to rake
2013-06-13 08:07:42 -07:00
Colin T.A. Gray
c3fe96743d Merge pull request #92 from IconoclastLabs/master
Adding git repo ability for templates
2013-06-13 08:06:23 -07:00
Colin T.A. Gray
8a42e2a32f Merge pull request #96 from katsuyoshi/callback_setup_controller
add callback after created controller.
2013-06-13 07:59:25 -07:00
Colin T.A. Gray
373e1e762d Merge pull request #97 from mgarriott/fix_xcode_version
Fix build expression for Xcode 3.x
2013-06-13 07:55:37 -07:00
Matt Garriott
a3f8ccfb90 Fix build expression for Xcode 3.x 2013-06-12 10:57:49 -06:00
Watson
29f802ade6 2.1 2013-06-10 21:41:14 +09:00
Laurent Sansonetti
468946e528 add support for manifest plist file (ios only) 2013-06-10 21:38:57 +09:00
Laurent Sansonetti
47b2f24ddc allow hash keys to be symbols 2013-06-10 21:38:53 +09:00
Katsuyoshi Ito
4f71e2ac34 add callback after created controller.
Sometimes view controller has a data.
The controller was set as a root view controller to the window before called "before" block.
But a data is not set at this point.
The view controller access to nil, and crash sometime even if I set a data in "before" block.

After created controller it will call the specified callback method if you set :after_created option

# Example
  describe MyViewController do

    tests MyViewController, after_created: :after_created_controller

    def after_created_controller controller
      # you can set data to the controller here
      controller.my_data = "foo"
    end

    .
    .
  end
2013-06-10 17:47:48 +09:00
Laurent Sansonetti
00c8eb8965 remove app.sim_args and use args env variable instead 2013-06-09 23:57:29 +09:00
Laurent Sansonetti
2d81dec34f app.vendor_project(:xcode) now rebuilds the project in case a file changed 2013-06-09 21:07:59 +09:00
Laurent Sansonetti
4827f71bae OSX: add LSMinimumSystemVersion plist key 2013-06-09 21:07:48 +09:00
Watson
3764e3d438 [OSX] fix a bug where it is not possible to submit app to Mac App Store
We have to do the code sign twice to submit app

1. code sign to app with
  "3rd Party Mac Developer Application: XXX"

2. code sign to pkg with
  "3rd Party Mac Developer Installer: XXX"
2013-06-09 21:07:40 +09:00
Watson
b35c1ab341 added embedded frameworks support (OSX-only) 2013-06-09 21:06:48 +09:00
Watson
abd0150df4 display the workaround for tmux users
if use tmux, we need some operation to launch iOS simulator.
2013-06-08 01:25:22 +09:00
Watson
495828a495 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:58:00 +09:00
Watson
c2c2db3862 fix app.sim_args
Because when passed the arguments as following

    app.sim_args += ["-com.apple.CoreData.SQLDebug 1"]

application will receive the argument like

    argv[1] = ["-com.apple.CoreData.SQLDebug
    argv[2] = 1"]

Expected:

    argv[1] = -com.apple.CoreData.SQLDebug
    argv[2] = 1
2013-06-05 05:12:17 +09:00
Laurent Sansonetti
246883aee3 osx: support for entitlements 2013-06-04 17:38:52 +09:00
Laurent Sansonetti
1efb6ff264 add 'build' task that builds for both modes 2013-06-04 17:38:45 +09:00
Laurent Sansonetti
fa5461a8a6 add 'rake static' task (OSX) 2013-06-04 17:38:31 +09:00
Laurent Sansonetti
143c508ffd move ctags to basic project rakefile so that it works with osx 2013-06-04 17:38:23 +09:00
Laurent Sansonetti
f011285dd6 app.sim_args 2013-06-04 17:38:06 +09:00
Watson
ed0b8bbc64 add a feature which passing the arguments on launching app 2013-06-04 17:37:24 +09:00
Watson
371b5a7a52 add .gitignore into gem template 2013-06-04 17:36:48 +09:00
Watson
3fc4096c68 Merge pull request #94 from chendo/fix-vendored-xcode-project-build-path
Use absolute path for CONFIGURATION_BUILD_DIR
2013-05-29 16:25:25 -07:00
Clay Allsopp
f888cffbcd set spec_mode and distribution_mode without setup 2013-05-27 15:32:31 -07:00
Jack Chen (chendo)
4f5fd08280 Use absolute path for CONFIGURATION_BUILD_DIR because when using relative xcodeproj path 2013-05-24 00:39:08 +10:00
Matt Garrison
3242325a9f added conditional for failed repo clones 2013-05-17 11:10:15 -05:00
Matt Garrison
05e5125b53 Merge branch 'master' of github.com:IconoclastLabs/RubyMotion 2013-05-17 11:03:57 -05:00
Matt Garrison
6273ecece0 added more robust repo name extraction, refactored names to be more descriptive 2013-05-17 11:03:52 -05:00
Matt Garrison
be5d697fd7 Update README.rdoc 2013-05-17 09:49:31 -05:00
Gant
6091814b65 Cache issue resolved, git works 2013-05-16 14:09:43 -05:00
Gant
0a925134c0 Really close, just need to figure out the cache issue on new create 2013-05-16 13:59:00 -05:00
Gant
a6addd6ec0 detecting git 2013-05-16 10:07:50 -05:00
Gant
e7a8dce92a Merge branch 'master' of github.com:IconoclastLabs/RubyMotion 2013-05-15 16:10:21 -05:00
Gant
c6cc46aafe Regex checks for git 2013-05-15 16:10:00 -05:00
Gant Laborde
f35a03bfac Adding info on how to use forked RM for motion changes.
current documentation is great for rake, but neglects motion.  Documenting this for others.
2013-05-15 16:30:28 -04:00
Gant
3ce24eb767 Merge remote-tracking branch 'upstream/master' 2013-05-15 15:10:06 -05:00
Gant
368d33ab7b beginning in template 2013-05-15 14:59:10 -05:00
Daniel Dickison
cc9a9e241e Set NSZombieEnabled=YES when running the simulator if zombie=1 is set. 2013-05-15 02:58:25 -04:00
Watson
51033fa22f Merge pull request #90 from jeremyruppel/files-dependencies-fixes
Files dependencies fixes
2013-05-14 15:21:40 -07:00
Jeremy Ruppel
9c2064eef2 Support leading ".." notation in dependency pathnames 2013-05-14 12:42:58 -07:00
Jeremy Ruppel
f546c67362 Print mutated path if a dependency cannot be found 2013-05-14 12:41:24 -07:00
Doug Puchalski
1810044d20 Added "rake sim" to run simulator without recompiling. 2013-05-12 10:07:27 -07:00
Watson
2e1855c04d Merge pull request #86 from tmilewski/master
Update user warning to reference correct file path
2013-05-11 06:03:31 -07:00
Watson
4be4a15d99 Merge pull request #88 from dblandin/master
Update motion require statement in gem template Rakefile
2013-05-11 05:56:54 -07:00
Devon Blandin
a91ca31910 Update motion require statement in gem template Rakefile 2013-05-10 23:12:46 -05:00
Laurent Sansonetti
4c0c700251 add OS X mention 2013-05-10 15:10:47 +02:00