1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-01 08:03:02 +00:00

Add the --offline flag to jpm.

This will let jpm install things only from the cache, and not
try and sync the latest from git.
This commit is contained in:
Calvin Rose
2020-04-21 12:41:08 -05:00
parent 13559baecc
commit 99d9c57154
2 changed files with 25 additions and 16 deletions

6
jpm.1
View File

@@ -36,6 +36,12 @@ Print detailed messages of what jpm is doing, including compilation commands and
.BR \-\-test
If passed to jpm install, runs tests before installing. Will run tests recursively on dependencies.
.TP
.BR \-\-offline
Prevents jpm from going to network to get dependencies - all dependencies should be in the cache or this command will fail.
Use this flag with the deps and update-pkgs subcommands. This is not a surefire way to prevent a build script from accessing
the network, for example, a build script that invokes curl will still have network access.
.SH OPTIONS
.TP