From c6a782c0ce25ccead93f580b1533c6460cb407bc Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Thu, 23 Apr 2020 12:10:22 -0500 Subject: [PATCH] Add information on lockfiles to the man page. --- jpm.1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/jpm.1 b/jpm.1 index a353f58f..16d82b2f 100644 --- a/jpm.1 +++ b/jpm.1 @@ -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