diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-02-26 09:31:11 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-02-26 09:31:11 +0100 |
| commit | 4f88227b89432da5caf254befda25df1b07ddebd (patch) | |
| tree | a12a28b3e1c1a062cce518aa84004702bb467613 /tools/updater.py | |
| parent | 265c46a864839fdc5e836be927c58cfdbb146817 (diff) | |
feat: add updater system.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tools/updater.py')
| -rwxr-xr-x | tools/updater.py | 17 |
1 files changed, 17 insertions, 0 deletions
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") + + |
