summaryrefslogtreecommitdiffhomepage
path: root/updater/updater.py
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-09 04:47:32 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-09 04:47:32 +0100
commitfe98fb3903138e7afec5f85b66fbb42f18440bfc (patch)
tree6f53964cc0181f4472db1c68bf5be0089f893ce4 /updater/updater.py
parent553ff94b56e8e347b130b01ff226f65136cfb55d (diff)
[CHORE] Rename tools to updater.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'updater/updater.py')
-rwxr-xr-xupdater/updater.py22
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")
+
+
+
+