blob: 10162754f0b5c3b4f8ec75354e35dbb01a0b6f0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#! /usr/bin/python3
# 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 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")
def main():
functor = UpdateFunctor()
print("INFO: Updater: Functor called")
if __name__ == '__main__':
main()
|