diff options
Diffstat (limited to 'updater/updater.py')
| -rwxr-xr-x | updater/updater.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/updater/updater.py b/updater/updater.py new file mode 100755 index 0000000..afb32f5 --- /dev/null +++ b/updater/updater.py @@ -0,0 +1,22 @@ +# Copyright 2026, Amlal El Mahrouss and Ne.org contributors. +# Open C++ Libraries is licensed under BSL-1.0 + +from os import system + +class UpdateFunctor: + def __init__(self): + system("cd libs && cd tproc && git pull && cd ..") + system("cd libs && cd fix && git pull && cd ..") + system("cd libs && cd core && git pull && cd ..") + system("git add libs/core libs/fix libs/tproc") + system("git commit -s -S") + + + +def start(): + functor = UpdateFunctor() + print("INFO: Updater: Functor called") + + + + |
