trevordevore / levure

Application development framework for LiveCode
MIT License
32 stars 14 forks source link

question about Helpers folder #156

Closed rodneytamblyn closed 3 years ago

rodneytamblyn commented 3 years ago

Hi Trevor,

There's a helper folder in the Levure/framework/helpers and also in app/helpers. If I am using a particular helper, is it OK just to have it in the Levure helpers folder, or should I always put any/all helpers I am using in the App's helper folder? I'm guessing that perhaps only by placing in the latter (?) would the helper be packaged when building app?

~ Rodney

rodneytamblyn commented 3 years ago

OK this is determined by param in yaml settings e.g. filename: "[[FRAMEWORK]]/helpers/file_system"

trevordevore commented 3 years ago

@rodneytamblyn you found the right syntax. The rule is if a helper is included with Levure then leave it where it is. Any helpers you add go in your app helpers folder.