added: plymouth-git

This commit is contained in:
Sebastian Rust
2022-07-10 13:24:42 +02:00
parent fc7ebde56f
commit e13e775ecb
3 changed files with 9 additions and 2 deletions

View File

@@ -9,9 +9,12 @@ def aur(c, name):
@task
def add(c, url, name=None):
if name is None:
name = url
c.run(f"git submodule add {url}")
ending = url.rfind('/') + 1
ending = ending.split(".")
name = ending[0]
c.run(f"git submodule add {url} {name}")
c.run(f"git commit -am 'added: {name}'")
addyaml(c, name)
@task
def update(c):