UNPKG

tintan

Version:

Titanium development with style. A suite of Jake build tasks which integrate with Sublime Text and Titanium Studio. Usable on all platforms.

47 lines (42 loc) 927 B
// Generated by CoffeeScript 1.6.3 (function() { var files; files = '\ \ fastdev\ compile\ config\ build\ run\ install\ distribute\ \ '.trim().split(/[^a-zA-Z\/\.]+/).map(function(s) { return './' + s; }); module.exports = function(tintan) { var env, file, prereq, _i, _len; for (_i = 0, _len = files.length; _i < _len; _i++) { file = files[_i]; require(file)(tintan); } env = tintan.constructor.env; prereq = (function() { switch (env.command) { case 'distribute': return 'compile:dist'; default: return 'compile'; } })(); task('showenv', function() { return console.log(env); }); return task('tintan', ['showenv', prereq], function() { return console.log('done'.green + ' building ' + tintan.constructor.appXML().name()); }); }; }).call(this); /* //@ sourceMappingURL=tasks.map */