Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to build luvi apps from lit #17

Closed
creationix opened this issue Jan 28, 2015 · 0 comments
Closed

Add feature to build luvi apps from lit #17

creationix opened this issue Jan 28, 2015 · 0 comments
Assignees

Comments

@creationix
Copy link
Member

This feature would allow pointing lit to a package.lua file in a luvi app's source tree and build the binary including all dependencies.

> git clone git://github.com/luvit/luvit.git
# git clones down the luvit repo
> lit package luvit/app
# lit reads luvit/app/package.lua and downloads all dependencies
# lit combines dependencies with files on disk relative to package.lua into an in-memory zip
# lit appends zip to it's own binary half to create a new file in cwd.  Name is specified in package.lua
> ./luvit
# luvit is run from the newly created binary.

The app field in package.lua determines the generated binary's name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant