Tintan will now precompile the JS from Coffee during its build hook triggered in Ti Studio. It will compile without sourcemaps when building for distribution. Studio then handles building and/or launching the app.
distribute:tf-androidBuild for TestFlight
This new task builds for distribution, but by default without using the Google Closure Compiler, leaving the JS unobfuscated. It then signs with the default Android debug keystore (rather than Ti's default tirocks keystore) to allow use of the TestFlight SDK. It leaves the .apk in project root which can be uploaded to TestFlight.
If NODE_PATH environment variable is not defined (a definite possibility on OSX), the bin/tintan 'binary' will look in the usual NODE_PATH places to find the tintan module.
Tintan is now compiled with source maps and the source-map-support package.
.coffeestack traces with correct line/column information and source line text
Coffee/Iced compiler now optionally builds source maps that are readable by node inspector! The compiler embeds the maps as base64 into the compiled JS. Source Maps map to the local file source from the project folder.
To ease this process there are two task changes:
touch -m all coffee sources and recompile them.
watch now compiles with the exact same process as
coffee:compile. This enables the embedded/local source mapping even when watching.
iOS's JSCore and ti-inspector do not yet have this same support, but it's a definite possibility going forward.
Tintan locks itself to the currently installed version, to prevent package upgrades from affecting the build system. Therefore, to upgrade tintan on a project, first update it from npm, then let tintan update itself:
$ npm update tintan $ tintan upgrade
Tintan will then:
package.jsonif not yet defined
Tintan will not:
<project>.sublime-projectwith a template
plugin.pythat is newer than the one in its package
This is to allow for customization. To get Tintan to recreate these files/values from template, delete them before
Jake syntax had minor changes, dependency is now >=0.5.17 jakejs/jake@38698d6 . Also:
For details on how to use new Config system, see README.