Skip to content

Instantly share code, notes, and snippets.

@mcvendrell
Created September 27, 2016 14:55
Show Gist options
  • Save mcvendrell/b4bacd36b834303a4e5f61afc947706a to your computer and use it in GitHub Desktop.
Save mcvendrell/b4bacd36b834303a4e5f61afc947706a to your computer and use it in GitHub Desktop.
Some PowerShell configurations for Appcelerator Titanium CLI + Atom on Windows
# See https://github.com/m1ga/titanium_with_atom on the Windows part
# execute as tinfo, e.g.
Function appcInfo {appc ti info}
New-Alias tinfo appcInfo
Function tiBuildAndroid {ti build -p android -T device --skip-js-minify}
New-Alias tib tiBuildAndroid
Function tiBuildAndroidLive {ti build -p android -T device --skip-js-minify --liveview}
New-Alias tibl tiBuildAndroidLive
Function appcBuildAndroid {appc ti build -p android -T device --skip-js-minify}
New-Alias appcb appcBuildAndroid
Function appcBuildAndroidLive {appc ti build -p android -T device --skip-js-minify --liveview}
New-Alias appcbl appcBuildAndroidLive
Function appcBuildAndroidStore {appc ti build -p android -T dist-playstore -K C:\keys\mykeys -L my_alias -O C:\my_dir\}
New-Alias appcbs appcBuildAndroidStore
Function androidADBDeviceList {adb devices}
New-Alias adbl androidADBDeviceList
# parameter example
Function androidADBInst($file) {adb install -r '.\build\android\bin\$file.apk'}
New-Alias adbi androidADBInst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment