mirror of https://git.kore.io/kore.git
2f5d274059
It was hardcoded that if KORE_USE_PYTHON was defined we would look at the passed argument on the command-line as the python script or module to be run. This won't work when adding more runtimes. So instead call a kore_runtime_resolve() function that in turn calls each available runtime its resolve function. That resolve function will check if its a script / module that it can load, and if so will load it. This way we can remove all those KORE_USE_PYTHON blocks in the Kore startup path and we pave the way for lua. |
||
---|---|---|
.. | ||
kore |