jirutka / luapak

Easily build a standalone executable for any Lua program
MIT License
200 stars 7 forks source link

Is rockspec mandatory ? (can I individually build and link ) #6

Closed aniruddha-a closed 4 years ago

aniruddha-a commented 4 years ago

Hello,

This is not really an issue, but more of a usage doubt. I am trying to use luapak on my project which has a handful of my modules and a couple of thirdparty modules (all included as source). Since I don't have a rockspec, I tried the following:

I got my executable, but its not doing anything when run - probably I am missing something - do I have to specify what is the entry point/main [module]?

jirutka commented 4 years ago

Yes, rockspec is mandatory. How else could it resolve all the external dependencies? In that case, just create a rockspec for your project. You don’t have to publish it to luarocks.