ebuild_rasp2/ebuild/runtime/main.py

25 lines
570 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- 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()