added: aur task
This commit is contained in:
4
tasks.py
4
tasks.py
@@ -11,3 +11,7 @@ def add(c, url, name=None):
|
|||||||
name = url
|
name = url
|
||||||
c.run(f"git submodule add {url}")
|
c.run(f"git submodule add {url}")
|
||||||
c.run(f"git commit -am 'added: {name}'")
|
c.run(f"git commit -am 'added: {name}'")
|
||||||
|
|
||||||
|
@task
|
||||||
|
def update(c):
|
||||||
|
c.run("git pull && git submodule update --init")
|
||||||
Reference in New Issue
Block a user