[TIMOB-10752] CLI: "create" builtin for modules
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-04-18T17:43:54.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2014 Sprint 08, 2014 Sprint 08 Tooling, Release 3.3.0 |
Components | CLI |
Labels | core, module, qe-closed-3.3.0, qe-testadded |
Reporter | Stephen Tramer |
Assignee | Chris Barber |
Created | 2012-09-04T14:14:44.000+0000 |
Updated | 2014-05-29T04:47:48.000+0000 |
Description
This task is for writing the
create
builtin as described in the [CLI spec](https://wiki.appcelerator.org/display/spe/Command+Line+Interface).
Depends upon the command API from TIMOB-9022 to be completed. This ticket *may* be performed in tandem with TIMOB-9022, in which case the "create" stub is unnecessary there.
Tasks include:
* Write "create" builtin
* Produce documentation (tdoc2, markdown, manpage, whatever)
* Test plan for "create" builtin
** We may want to consider using "node-unit" or another node unit testing framework. This could be an investigation task as part of this ticket as well.
Titanium SDK master pull request: https://github.com/appcelerator/titanium_mobile/pull/5621 Titanium CLI master pull request: https://github.com/appcelerator/titanium/pull/127
Things to test: 1) Creating a module 2) Building the module for Android 3) Building the module for iOS 4) Building the module for Mobile Web 5) Building an Android app that uses the module 6) Building an iOS app that uses the module 7) Building an Mobile Web app that uses the module 8) Add an image to assets and repeat steps 2, 3, 5, 6 9) Add a "
All works as described
[~penrique] It should already be hooked up as long as you have an
_create.js
file inblackberry/cli/commands
.Tested, following [~cbarber] instructions. Environment: Mac osx 10.9.2 Mavericks Appcelerator Studio, build: 3.3.0.201405011408 Titanium SDK, build: 3.3.0.v20140505115416 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-dev npm@1.3.2 titanium@3.3.0-dev titanium-code-processor@1.1.1