X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/9e09f09106e96f2854ac86d006dcd44ba666345b..16362d6b1e512305bdc3640821a549cc941e4161:/invoke/setup-linux/tasks.py diff --git a/invoke/setup-linux/tasks.py b/invoke/setup-linux/tasks.py index e5fd14c..9797060 100644 --- a/invoke/setup-linux/tasks.py +++ b/invoke/setup-linux/tasks.py @@ -114,8 +114,32 @@ def ensure_env(c, env): c.run(f'{path}/bin/pip freeze') +@task +def env_borg(c): + ensure_env(c, 'borg') + +@task +def env_ansible(c): + ensure_env(c, 'ansible') + @task def env_jupyter(c): ensure_env(c, 'jupyter') +@task +def clone(c, path): + c.run(f'mkdir -p {HOME}/src') + c.run(f'cd {HOME}/src; git clone {path}') + +@task +def clone_minion(c): + clone(c, 'ssh://git@codeberg.org/EdTheDev/minion.git') + +@task +def clone_favs(c): + clone(c, 'ssh://git@codeberg.org/EdTheDev/down-shift.git') + clone(c, 'ssh://git@codeberg.org/EdTheDev/todolist.git') + clone(c, 'ssh://git@codeberg.org/EdTheDev/weekend-template.git') + clone(c, 'ssh://git@codeberg.org/EdTheDev/invoke-tui.git') +