First put @noindex as header in the function file so reapack-index won't think it's a package of its own.
Then, yes, put @provides MIDI functions.lua in the header of your script to add it to the file list. It can be in any folder of your repository. For example: @provides ../Functions/MIDI functions.lua.
Note that only one unique package may own a particular filename on the user's computer. If you need to share this function file among multiple packages it must be installed under a different name for each. Using reapack-index this can be done like this: @provides ../Functions/MIDI functions.lua > The Script Name/MIDI functions.lua.
Last edited by cfillion; 12-15-2017 at 03:42 PM.
|