blob: b853533396e902ea904be34dafaf74c6f4a6f908 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /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("cd papers && git pull")
system("git add src/kernel src/nectar papers src/build src/boot")
system("git commit -s -S")
|