summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/__init__.py7
-rw-r--r--tools/kmnt.py6
-rwxr-xr-xtools/updater.py22
3 files changed, 6 insertions, 29 deletions
diff --git a/tools/__init__.py b/tools/__init__.py
deleted file mode 100644
index eeef556..0000000
--- a/tools/__init__.py
+++ /dev/null
@@ -1,7 +0,0 @@
-import updater
-
-if __name__ == '__main__':
- updater.start()
-
-
-
diff --git a/tools/kmnt.py b/tools/kmnt.py
new file mode 100644
index 0000000..7180a0a
--- /dev/null
+++ b/tools/kmnt.py
@@ -0,0 +1,6 @@
+# -*- coding: utf-8 -*-
+
+import sys
+
+if __name__ == "__main__":
+ sys.exit(0)
diff --git a/tools/updater.py b/tools/updater.py
deleted file mode 100755
index b86fcec..0000000
--- a/tools/updater.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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 kernel && git pull && cd ..")
- system("cd libs && cd nectar && git pull && cd ..")
- system("cd libs && cd build && git pull && cd ..")
- system("cd libs && cd boot && git pull && cd ..")
- system("cd papers && git pull")
- system("git add src/kernel src/nectar papers src/build src/boot")
- system("git commit -s -S")
-
-def start():
- functor = UpdateFunctor()
- print("INFO: Updater: Functor called")
-
-
-
-