Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14071] CLI: Add hook(s) for the "project" command

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2016-08-29T22:47:17.000+0000
Affected Version/sRelease 3.1.1
Fix Version/sn/a
ComponentsCLI
Labelsn/a
ReporterTony Lukasavage
AssigneeChris Barber
Created2013-05-31T18:56:17.000+0000
Updated2017-03-23T22:34:27.000+0000

Description

problem

In order for processes outside of the CLI to be able to react to changes made via the "project" command, the CLI needs to expose hooks. In particular, the case in TIMOB-14068 eventually requires that Alloy should be able to execute some code _after_ Studio adds a new platform to an existing project via the "project" command, specifically like:
"/usr/local/bin/titanium" "--no-colors" "--no-prompt" "--no-banner" "project" "--sdk" "3.1.1.v20130530171546" "--project-dir" "/Users/mxia/Documents/Titanium_Studio_Workspace/testbb" "deployment-targets" "blackberry,tizen,mobileweb,android,iphone,iPad"
Currently this command runs as expected, but Alloy has no means of knowing when that happens since there's no hook into this process.

expected

The CLI should expose a hook that allows a process to react to the situation where the "titanium project" command updates an existing project.

Comments

  1. Chris Barber 2016-08-29

    The project command isn't quite what I was hoping it to be. It will probably go away or properly fixed. It doesn't matter since we don't need hooks for Alloy's sake since Alloy v2 will be apart of the Titanium build process.
  2. Lee Morris 2017-03-23

    Closing ticket as Won't Fix with reference to the above comments.

JSON Source