Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for external plugins #211

Open
lammermann opened this issue Apr 24, 2015 · 1 comment
Open

support for external plugins #211

lammermann opened this issue Apr 24, 2015 · 1 comment

Comments

@lammermann
Copy link

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?

@warrenseine
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants