ilk işlem
This commit is contained in:
1
ebuild/runtime/__init__.py
Normal file
1
ebuild/runtime/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
24
ebuild/runtime/main.py
Normal file
24
ebuild/runtime/main.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# -*- 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()
|
||||
Reference in New Issue
Block a user