From c5e3eea64d766a64dfdd2422714718f15ede54d6 Mon Sep 17 00:00:00 2001 From: Sebastian Rust Date: Sun, 10 Jul 2022 12:50:36 +0200 Subject: [PATCH] added: aur task --- tasks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks.py b/tasks.py index 88709da..82de785 100644 --- a/tasks.py +++ b/tasks.py @@ -11,3 +11,7 @@ def add(c, url, name=None): name = url c.run(f"git submodule add {url}") c.run(f"git commit -am 'added: {name}'") + +@task +def update(c): + c.run("git pull && git submodule update --init") \ No newline at end of file