Skip to content

dmarcuse/crunch

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

crunch

Crunch is used to bundle folders of code using require into a single executable file. This file will then be able to load the embedded modules as if it were in its original directory structure.

Usage

crunch <project root> [output file]

project root is the root directory of the project. main.lua should exist within this directory, and it will be used as the root for resolving modules when require is used. The contents will be recursively embedded into the bundle.

output file is the location to write the output to. It defaults to bundle.lua.

About

Bundle a directory into a single file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages