summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-26 09:24:11 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-02-26 09:24:35 +0100
commit4e20290c279bed03452a4a64c230c9aee484d6b7 (patch)
tree50a0a41baee24d28b3b4f6ac59183a9b22a95562
parent116a2ea25de44f2f157e31006935b82d01b04fc2 (diff)
chore: update 'updater.py' python.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rwxr-xr-xtools/updater.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/updater.py b/tools/updater.py
new file mode 100755
index 0000000..f131071
--- /dev/null
+++ b/tools/updater.py
@@ -0,0 +1,16 @@
+#! /usr/bin/python3
+
+from os import system
+
+# Copyright 2026, Amlal El Mahrouss and Ne.org contributors.
+# Open C++ Libraries is licensed under BSL-1.0
+
+if __name__ == '__main__':
+ print("precommit: running format.sh...")
+ 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")
+
+