tintan

0.4.1 • Public • Published

Tintan - Titanium development with style!

A coffee-script based tool for adding coffee, bdd and node_modules to your Titanium development.

OVERVIEW

Tintan integrates state of the art tools into your Titanium development.

Featuring a ready to use setup for building projects with useful Jake tasks, being able to write applications in CofeeScript without having to worry about compiling them, managing your project dependencies using NPM and allowing to include node modules on your mobile application using ender.js

FEATURES

  • Painless installation and project setup.
  • Integrated build with Titanium Studio.
  • CLI (tasks) for when you feel more confortable building from the command line.
  • Allows you to write CoffeeScript sources and get them automatically compiled.
  • Integrate BDD to your development and ensure all tests succeed on production builds.
  • Include vendor node modules for using within your app by using ender.js

INSTALLATION

  $ npm install -g tintan
 
  # cd /your/titanium/project 
 
  $ tintan
 
  # Get an overview of available tasks 
  $ tintan -T

SOME TASKS

  # Compile sources 
  $ tintan compile
 
  # Watch and compile [Iced] CoffeeScript sources 
  $ tintan compile:coffee:watch
 
  # Build and launch on Android Virtual Device 
  $ tintan run:android
 
  # Build and launch on Android physical device 
  $ tintan install:android
 
  # Build and launch on iPad simulator 
  $ tintan run:ipad
 
  etc...

CONFIG / ENVIRONMENT VARIABLES

  # Configure all available options. 
  # Creates JSON text file ./tintan.config if not present. 
  $ tintan config
 
  # Display options and settings. 
  $ tintan config:display
 
  # Set option/value pairs. 
  $ tintan config:set option=value [option=value...]
 
  # Reset option to default value. 
  $ tintan config:set option=default

Normally Tintan will try to guess your current environment setup, you can however force a particular setting by setting or exporting one of the following variables:

OPTIONS

option / ENV_VARtypedefault value

verbosebooleantrue

Verbose compiling?

icedbooleanfalse

Compile with Iced CoffeeScript?

compile_jsbooleantrue

For distribution builds, compile JS with Closure compiler? (Obfuscation can be bad for debugging.)

debugbooleanfalse

Wait for debugger to attach?

debug_addressString'127.0.0.1'

IP Address for debugger connection

debug_portNumber5858

Port for debugger

android_avd / AVDStringnull

The Android virtual device to use for development.

android_deviceString''

The Android physical device to use for development.

android_sdk / ANDROID_SDKString • Linux: /opt/android-sdk, Mac: the max value of /usr/local/Cellar/android-sdk/*, Windows: C:\Program Files (x86)\Android\android-sdk

The location of the Android development kit.

keystoreStringnull

The location of the Android keystore with which to sign distribution builds.

storepassStringnull

The storepass for the Android keystore with which to sign distribution builds.

key_aliasStringnull

The alias for the Android keystore with which to sign distribution builds.

ios_version / IOS_VERSIONString • max value of ~/Library/Application Support/iPhone Simulator/

The version of iOS to target, eg. 5.0, 6.0

ti_home / TI_HOMEString • Linux: ~/.titanium, Mac: /Library/Application Support/Titanium

The Titanium directory containing mobilesdk/ subdir.

ti_platform / TI_PLATFORMString • Linux: 'android', Mac: 'iphone'

The platform for mobile development: 'android', 'iphone', 'mobileweb', 'module'

ti_python / TI_PYTHONString • the python found in $PATH

The python executable to run Titanium scripts.

ti_sdk / TI_SDKString<sdk-version /> in tiapp.xml, or the greatest version installed on $TI_HOME/mobilesdk

The version of the Titanium SDK to use.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.13latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.13
0.4.00
0.3.10
0.3.00
0.2.00
0.1.00
0.0.81
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30

Package Sidebar

Install

npm i tintan

Weekly Downloads

4

Version

0.4.1

License

Apache 2.0

Last publish

Collaborators

  • vborja
  • doublerebel