SlideShare a Scribd company logo
TiNy November 2nd 2013
github.com/fokkezb/tn
TiNy #TiAppCamp
TiNy #TiAppCamp
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
Imagine this!
$ tn create MyApp
$ tn update
$ tn "Fokke Zandbergen (WM8665AMW4)"
9D50EBFE-09E1-41DF-B292-A58183E83925
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
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
Recipes
$ tn recipes
TiNy 0.1.2 by Fokke Zandbergen <www.fokkezb.nl>
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)”
Verbose
$ tn appstore 38A0E98E-63C7-4E02-B1C8-E2C4AD65836E "Tera.nl bv
(E8978765FC)" verbose
TiNy 0.1.2 by Fokke Zandbergen <www.fokkezb.nl>
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
$ sudo npm install -g tn
Get it!
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
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

More Related Content

Similar to TiNy #TiAppCamp (7)

PDF
LetSwift 2017 - 토스 iOS 앱의 개발/배포 환경
Mintak Son
 
PDF
Танки_в_Лунапарке: нагрузочное_тестирование_в_Яндексе
Yandex
 
PDF
ngManila - Codename: Fireball - Hello World in Angular
ngmanila
 
PPTX
Technology research items presentation
artemoula
 
KEY
solving little problems
removed_e334947d661d520b05c7f698a45590c4
 
PPTX
Optimizing Spring Boot apps for Docker
Graham Charters
 
PPTX
Laravel Day / Deploy
Simone Gentili
 
LetSwift 2017 - 토스 iOS 앱의 개발/배포 환경
Mintak Son
 
Танки_в_Лунапарке: нагрузочное_тестирование_в_Яндексе
Yandex
 
ngManila - Codename: Fireball - Hello World in Angular
ngmanila
 
Technology research items presentation
artemoula
 
Optimizing Spring Boot apps for Docker
Graham Charters
 
Laravel Day / Deploy
Simone Gentili
 

More from Fokke Zandbergen (20)

PDF
Building the (Support) Robot at Zapier
Fokke Zandbergen
 
PDF
Lessons from helping developers integrate 1,000 APIs with Zapier
Fokke Zandbergen
 
PDF
We are all Remote Advocates
Fokke Zandbergen
 
PDF
Cross-platform Native App ontwikkeling met Appcelerator
Fokke Zandbergen
 
PDF
Building Native Mobile Apps using Javascript with Titanium
Fokke Zandbergen
 
PDF
Getting Started with Titanium & Alloy
Fokke Zandbergen
 
PDF
Cross-Platform Native Apps with JavaScript
Fokke Zandbergen
 
PDF
Titanium: Develop Native Mobile Apps with JavaScript
Fokke Zandbergen
 
PDF
Appcelerator OSS & Platform
Fokke Zandbergen
 
PDF
Platform 4.0 Meetup Launch Event
Fokke Zandbergen
 
PDF
Appcelerator Alloy MVC
Fokke Zandbergen
 
PDF
The Ultimate Titanium CLI Toolchain
Fokke Zandbergen
 
PDF
Getting ready for iOS 8 & iPhone 6
Fokke Zandbergen
 
PDF
Titanium Community Toolkit Showcase
Fokke Zandbergen
 
PDF
Titanium Alloy Tutorial
Fokke Zandbergen
 
PDF
5 app alternatieven #AIB2013
Fokke Zandbergen
 
PDF
Apps voor kerken #Kerk2013
Fokke Zandbergen
 
PDF
Internetmarketing
Fokke Zandbergen
 
PDF
Alloy Tips & Tricks #TiLon
Fokke Zandbergen
 
PDF
Alloy #DMC13
Fokke Zandbergen
 
Building the (Support) Robot at Zapier
Fokke Zandbergen
 
Lessons from helping developers integrate 1,000 APIs with Zapier
Fokke Zandbergen
 
We are all Remote Advocates
Fokke Zandbergen
 
Cross-platform Native App ontwikkeling met Appcelerator
Fokke Zandbergen
 
Building Native Mobile Apps using Javascript with Titanium
Fokke Zandbergen
 
Getting Started with Titanium & Alloy
Fokke Zandbergen
 
Cross-Platform Native Apps with JavaScript
Fokke Zandbergen
 
Titanium: Develop Native Mobile Apps with JavaScript
Fokke Zandbergen
 
Appcelerator OSS & Platform
Fokke Zandbergen
 
Platform 4.0 Meetup Launch Event
Fokke Zandbergen
 
Appcelerator Alloy MVC
Fokke Zandbergen
 
The Ultimate Titanium CLI Toolchain
Fokke Zandbergen
 
Getting ready for iOS 8 & iPhone 6
Fokke Zandbergen
 
Titanium Community Toolkit Showcase
Fokke Zandbergen
 
Titanium Alloy Tutorial
Fokke Zandbergen
 
5 app alternatieven #AIB2013
Fokke Zandbergen
 
Apps voor kerken #Kerk2013
Fokke Zandbergen
 
Internetmarketing
Fokke Zandbergen
 
Alloy Tips & Tricks #TiLon
Fokke Zandbergen
 
Alloy #DMC13
Fokke Zandbergen
 
Ad

TiNy #TiAppCamp

  • 1. TiNy November 2nd 2013 github.com/fokkezb/tn
  • 4. 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
  • 5. Imagine this! $ tn create MyApp $ tn update $ tn "Fokke Zandbergen (WM8665AMW4)" 9D50EBFE-09E1-41DF-B292-A58183E83925
  • 6. 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
  • 7. 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
  • 8. Recipes $ tn recipes TiNy 0.1.2 by Fokke Zandbergen <www.fokkezb.nl> 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)”
  • 9. Verbose $ tn appstore 38A0E98E-63C7-4E02-B1C8-E2C4AD65836E "Tera.nl bv (E8978765FC)" verbose TiNy 0.1.2 by Fokke Zandbergen <www.fokkezb.nl> 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
  • 10. $ sudo npm install -g tn Get it!
  • 11. 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
  • 12. 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