minko icon indicating copy to clipboard operation
minko copied to clipboard

support for external plugins

Open lammermann opened this issue 9 years ago • 1 comments

I've heard that the lua plugin will be dropped in the near future. For me it would be interesting to keep it alive as an external plugin. The problem is minko has no official way to find external plugins. So if anyone would like to provide any kind of this problems will occur when it comes to compiling and linking.

Any Ideas about this? What about another environmental variable MINKO_PLUGIN_PATH with ';' separated paths for all plugins?

lammermann avatar Apr 24 '15 07:04 lammermann

External plugin projects are supported but undocumented:

  • The plugin definition is exactly the same as an internal plugin.
  • The plugin inclusion is pretty much the same, except you should use minko.plugin.include 'path/to/your/plugin' before the usual minko.plugin.enable 'plugin-name' in any project that uses the plugin.

There is no support for a MINKO_PLUGIN_PATH environment variable at the moment. It'd make perfect sense and should be fairly easy to implement in sdk.lua though.

warrenseine avatar Apr 24 '15 13:04 warrenseine