summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-08 21:21:24 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-08 21:21:24 +0100
commit07c21809ce5e0f593ad35b1197836078a53cbc24 (patch)
tree4f5ea38346096c819b9ad95a1656d91e694505b2 /tools
parente1d47575791cb08d505fcaa2c52d2b84e2a7f695 (diff)
[CHORE] Move updater to its own repository, adding kmnt.py, and drivers directory.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
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")
-
-
-
-