wok diff android-sdk/stuff/tazdroid @ rev 18713
Translations for Science category (thanks Aleksej)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Wed Dec 16 20:44:08 2015 +0100 (2015-12-16) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/android-sdk/stuff/tazdroid Wed Dec 16 20:44:08 2015 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +#!/bin/sh 1.5 +# 1.6 +# Small utility to work with Android SDK on SliTaz. It also act has a 1.7 +# wrapper fot SDK tools such as 'android' or 'emulator'. 1.8 +# 1.9 +# (C) 2014 SliTaz GNU/LInux - BSD License 1.10 +# 1.11 + 1.12 +export PATH=$PATH:/opt/android-sdk/tools 1.13 +export PATH=$PATH:/opt/android-sdk/platform-tools 1.14 +export PATH=$PATH:/opt/android-sdk/build-tools 1.15 + 1.16 +usage() { 1.17 + echo "Usage: $(basename $0) [help|emulator|export]" 1.18 +} 1.19 + 1.20 +# Handle commands 1.21 + 1.22 +case "$1" in 1.23 + usage|help) usage ;; 1.24 + emulator) emulator $@ & ;; 1.25 + *) android $@ & ;; 1.26 +esac && exit 0