Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

So you’re writing an interface and you make some useful routines and then you realize that you’d like to use this library in other components.

How do you do this?

You can create libraries which are then re-usable from any other Iguana X component.

 Add a component

 Make sure it has an upstream repo

 Create a directory FOO

 Create a file BAR.lua in the directory with a function

Try this:

function FOObar()
   return "The world needs more FOO";
end
 Commit your changes

 Push the changes to the upstream repo

 Right click and convert FOO to a library

 Commit and push

If you look at the FOO library it should have the BAR.lua file in it.

If you look at the repo for the component it should have the link to the library in it.

 Now create a new component + FROM URL based on the git repo of this library

Bang - this work flow is currently broken as of 10.1.80

  • No labels