Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Ti SDK 3+ on OSX; Version bump #4

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion etc/plugins/tintan/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def compile(config):
print " node", tintan, "-C", project_dir, 'tintan'

proc = subprocess.Popen(['node', tintan, '-C', project_dir, 'tintan'],
env={'TINTAN': to_json(c)}, stderr = sys.stderr, stdout = sys.stdout)
env={'TINTAN': to_json(c), 'PATH': '$PATH:/usr/local/bin'},
stderr = sys.stderr, stdout = sys.stdout)
proc.communicate();
ret = proc.wait()

Expand Down
12 changes: 6 additions & 6 deletions lib/tintan/run.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ module.exports = (tintan)->
if Tintan.appXML().targets 'ipad'
desc 'Run the application on iPad emulator'
task 'ipad', ->
Tintan.$.tipy ['iphone', 'builder.py'], 'simulator',
Tintan.$.ios_version(), process.cwd(), Tintan.appXML().id(), Tintan.appXML().name(),
'ipad', 'retina'
Tintan.$.tipy ['iphone', 'builder.py'], 'run',
process.cwd(), Tintan.$.ios_version(), Tintan.appXML().id(), Tintan.appXML().name(),
'ipad'

if Tintan.appXML().targets 'iphone'
desc 'Run the application on iPhone emulator'
task 'iphone', ->
Tintan.$.tipy ['iphone', 'builder.py'], 'simulator',
Tintan.$.ios_version(), process.cwd(), Tintan.appXML().id(), Tintan.appXML().name(),
'iphone', 'retina'
Tintan.$.tipy ['iphone', 'builder.py'], 'run',
process.cwd(), Tintan.$.ios_version(), Tintan.appXML().id(), Tintan.appXML().name(),
'iphone'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tintan",
"description": "Titanium development with style.",
"version": "0.0.7",
"version": "0.0.8",
"keywords": [
"titanium",
"mobile",
Expand Down