Slide 1

Slide 1 text

TiNy November 2nd 2013 github.com/fokkezb/tn

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Recognize these? $ titanium create —-id my.app —-name MyApp —- platform ios —-workspace-dir . $ titanium build —-platform ios —-device-family iphone --target dist-appstore -—distribution- name "Fokke Zandbergen (WM8665AMW4)" —-pp-uuid "9D50EBFE-09E1-41DF-B292-A58183E83925" $ alloy compile —-config platform=ios && tishadow run —-update

Slide 5

Slide 5 text

Imagine this! $ tn create MyApp $ tn update $ tn "Fokke Zandbergen (WM8665AMW4)" 9D50EBFE-09E1-41DF-B292-A58183E83925

Slide 6

Slide 6 text

Smarts $ tn $ tn update android ~/my.keystore $ tn adhoc "Fokke Zandbergen (WM8665AMW4)" 9D50EBFE-09E1-41DF-B292-A58183E83925 3.1.2.GA $ tn —retina -tall $ tn R=Fokke
 $ tn R:Fokke
 $ tn -R Fokke

Slide 7

Slide 7 text

Recipes $ tn my-key: ~/dev/.keystore
 $ tn my-alias: L=fokkezb
 $ tn my-pass: P-iloveti
 $ tn ship-it: play my-key my-alias my-pass $ tn ah: adhoc $ tn ship-it

Slide 8

Slide 8 text

Recipes $ tn recipes TiNy 0.1.2 by Fokke Zandbergen The simple CLI for Titanium, Alloy and related tools. ! Recipes defined by: system, user and user-override ! adhoc: dist-adhoc appstore: dist-appstore crap: android device desktop: ~/Desktop ipad6: S=6.1 Y=ipad ipad7: S=7.0 Y=ipad iphone6: S=6.0 iphone7: S=7.0 mrmovie-appstore: appstore 38A0E98E-63C7-4E02-B1C8- E2C4AD65836E "Tera.nl bv (E8978765FC)”

Slide 9

Slide 9 text

Verbose $ tn appstore 38A0E98E-63C7-4E02-B1C8-E2C4AD65836E "Tera.nl bv (E8978765FC)" verbose TiNy 0.1.2 by Fokke Zandbergen The simple CLI for Titanium, Alloy and related tools. ! [TRACE] Expanded 'appstore' resulting in: dist-appstore 38A0E98E-63C7-4E02-B1C8-E2C4AD65836E Tera.nl bv (E8978765FC) ! Command: ti build -T dist-appstore -P 38A0E98E-63C7-4E02-B1C8- E2C4AD65836E -R "Tera.nl bv (E8978765FC)" -p ios ! What would you like me to do with this? 1) Execute it 2) Save the original as a recipe (non-verbose) 3) Exit : 2 ! What do you want to name it? : mrmovie-appstore ! Setting user recipe: mrmovie-appstore

Slide 10

Slide 10 text

$ sudo npm install -g tn Get it!

Slide 11

Slide 11 text

Challenges [X] implement "titanium create” [X] support custom recipes [ ] support chaining commands (alloy + tishadow) [ ] add "alloy compile" [ ] add "tishadow run” [ ] add genymotion [ ] rewrite for modular/pluggable architecture

Slide 12

Slide 12 text

Hack it! # fork it on GitHub $ git clone https://github.com/YOU/tn.git $ cd tn $ git remote add fokkezb https://github.com/ fokkezb/tn.git $ npm install
 $ sudo npm link