View Single Post
Old 12-15-2017, 03:33 PM   #437
Human being with feelings
cfillion's Avatar
Join Date: May 2015
Location: Québec, Canada
Posts: 2,468

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.
cfillion is online now   Reply With Quote