]> us-delaporte.pagekite.me Git - dotfiles.git/blob - invoke/android/tasks.py
Add help text to dot link
[dotfiles.git] / invoke / android / tasks.py
1 from invoke import task
2
3 @task()
4 def defaults(c):
5 c.run('update-alternatives --config gnome-www-browser')
6
7 @task
8 def install_adb(c):
9 c.run('sudo apt-get install adb')
10
11
12 @task
13 def status(c):
14 print("Running a status check.")
15 result = c.run('which adb', warn=True)
16 if(len(result.stdout) == 0):
17 print("- [ ] Install `adb` with `invoke install-adb`")
18
19