I'm building a Lua library (an internal kong plugin actually), and this is the first time I'm using Lua - let alone writing production code with it.
I've made it a luarock. From what I can see, the rockspec
lets me specify other libraries as dependencies. But there doesn't seem to be a notion of dev-dependencies as such. Like for example, libraries that I need for my tests, mocks etc... And I would rather not make them part of the actual dependencies list.
I've resorted to keeping my dev-dependencies in the dependencies list, but commenting them out before a git push. How is this normally solved on production Lua projects? What's the recommended way to manage these dependencies?