RubyMotion run script alteration #17

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants

Altered run script as it didn't actually work.

Problems were:

  • didn't close previous window (issue is that custom title did not remain as "${TERMINAL_ID}" but would change to "rake" when rake executed, so the window would never be found or closed.
  • sometimes didn't run rake, but simply ran the following and did nothing else:
    alias quit='' && cd "${PROJECT_DIR}" && clear

This commit not perfect (not skilled at osascript) but now works.

Problems:

  • will close every rake instance running in Terminal.app. Basically reporting a bug and a crude fix, but my osascript skills are too low to perfect it

iandundas added some commits Feb 15, 2013

Altered run script as it didn't actually work.
Problems were:
- didn't close previous window (issue is that custom title did not remain as "${TERMINAL_ID}" but would change to "rake" when rake executed, so the window would never be found or closed.
- sometimes didn't run rake, but simply ran the following and did nothing else:
	alias quit='' && cd \"${PROJECT_DIR}\" && clear

This commit not perfect (not skilled at osascript) but now works.

Problems:
- will close every rake instance running in Terminal.app
Owner

Watson1978 commented Jul 30, 2014

I think it will be solved by e1d132a
Thank you

@Watson1978 Watson1978 closed this Jul 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment