summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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")
+
+