25 lines
570 B
Python
25 lines
570 B
Python
# -*- coding: utf-8 -*-
|
||
""" ebuild/runtime/main.py
|
||
|
||
Uygulamanın ana döngüsü için iskelet.
|
||
Şu an sadece config reloader'ı test eder.
|
||
"""
|
||
|
||
from ..reloader import ConfigReloader
|
||
|
||
|
||
def main() -> None:
|
||
""" ebuild ana çalışma fonksiyonu (iskelet).
|
||
|
||
Gerçek sistemde:
|
||
- ConfigReloader izlenir
|
||
- Building + Environment + Systems kurulup döngü içinde çalıştırılır.
|
||
"""
|
||
reloader = ConfigReloader()
|
||
result = reloader.maybe_reload()
|
||
print("Config kontrol sonucu:", result)
|
||
|
||
|
||
if __name__ == "__main__":
|
||
main()
|