Add information on lockfiles to the man page.

This commit is contained in:
Calvin Rose 2020-04-23 12:10:22 -05:00
parent d148e14aa2
commit c6a782c0ce
1 changed files with 12 additions and 0 deletions

12
jpm.1
View File

@ -175,6 +175,18 @@ jpm will attempt to include the dependencies into the generated executable.
Load the current project.janet file and start a repl in it's environment. This lets a user better
debug the project file, as well as run rules manually.
.TP
.BR make-lockfile\ [\fBfilename\fR]
Create a lockfile. A lockfile is a record that describes what dependencies were installed at the
time of the lockfile's creation, including exact versions. A lockfile can then be later used
to set up that environment on a different machine via load-lockfile. By default, the lockfile
is created at lockfile.jdn, although any path can be used.
.TP
.BR load-lockfile\ [\fBfilename\fR]
Install dependencies from a lockfile previously created with make-lockfile. By default, will look
for a lockfile at lockfile.jdn, although any path can be used.
.SH ENVIRONMENT
.B JANET_PATH