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_VAR • type • default value

verbose • boolean • true

Verbose compiling?

iced • boolean • false

Compile with Iced CoffeeScript?

compile_js • boolean • true

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