From 4f88227b89432da5caf254befda25df1b07ddebd Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 26 Feb 2026 09:31:11 +0100 Subject: feat: add updater system. Signed-off-by: Amlal El Mahrouss --- tools/updater.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tools/updater.py diff --git a/tools/updater.py b/tools/updater.py new file mode 100755 index 0000000..8b3128c --- /dev/null +++ b/tools/updater.py @@ -0,0 +1,17 @@ +#! /usr/bin/python3 + +from os import system + +# Copyright 2026, Amlal El Mahrouss and Ne.org contributors. +# The Ne Syste, is licensed under the BSL-1.0 or Apache 2.0. + +if __name__ == '__main__': + print("precommit: running format.sh...") + 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("git add src/kernel src/nectar src/build src/boot") + system("git commit -s -S") + + -- cgit v1.2.3