I make heavy use of unit testing in my project. My code is organized as follows:
project |-- lib | |-- file1.lua | |-- file2.lua | |-- file3.lua +-- spec | |-- file1\_spec.lua | |-- file2\_spec.lua | |-- file3\_spec.lua |-- main.lua
Is there any way I can exclude the spec files from the build? Or rather are they already being excluded when the lua files get converted to byte code cause they are not reachable from the main.lua?
I just want to make sure that I am not having test code in my artifacts.