summaryrefslogtreecommitdiffhomepage
path: root/tools/updater.py
blob: f131071bf0886ae0ca7eb3e4f94b617dcffc0a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/python3

from os import system

# Copyright 2026, Amlal El Mahrouss and Ne.org contributors.
# Open C++ Libraries is licensed under BSL-1.0

if __name__ == '__main__':
    print("precommit: running format.sh...")
    system("cd libs && cd tproc && git pull && cd ..")
    system("cd libs && cd fix && git pull && cd ..")
    system("cd libs && cd core && git pull && cd ..")
    system("git add libs/core libs/fix libs/tproc")
    system("git commit -s -S")