summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-28 13:57:27 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-02-28 13:57:27 +0100
commitdb7192f403003fd9567a98c718869b01232ba571 (patch)
tree0c3e17941e1ae89364ebb70bb23c91f4f88deec7 /tools
parentb316bff4178342a54f48fa6ec3bc72f0250830ee (diff)
chore: updater tools improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/__init__.py7
-rwxr-xr-xtools/updater.py9
2 files changed, 9 insertions, 7 deletions
diff --git a/tools/__init__.py b/tools/__init__.py
new file mode 100644
index 0000000..eeef556
--- /dev/null
+++ b/tools/__init__.py
@@ -0,0 +1,7 @@
+import updater
+
+if __name__ == '__main__':
+ updater.start()
+
+
+
diff --git a/tools/updater.py b/tools/updater.py
index 1016275..afb32f5 100755
--- a/tools/updater.py
+++ b/tools/updater.py
@@ -1,5 +1,3 @@
-#! /usr/bin/python3
-
# Copyright 2026, Amlal El Mahrouss and Ne.org contributors.
# Open C++ Libraries is licensed under BSL-1.0
@@ -14,14 +12,11 @@ class UpdateFunctor:
system("git commit -s -S")
-def main():
+
+def start():
functor = UpdateFunctor()
print("INFO: Updater: Functor called")
-if __name__ == '__main__':
- main()
-
-