mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
This commit modifies how init detects runtime and entrypoints. It
assumes the following convention:
1 - All functions have a func.{lang} file - from which both
entrypoint and runtime are deduced.
2 - Entrypoints always are, depending on the language, "./func",
"{lang-exec} ./func.{lang}", "{lang-exec} ./func.{package}" (e.g.
Java's "func.jar" and PHP's "func.phar").