1
0
mirror of https://github.com/janet-lang/janet synced 2025-02-04 19:29:10 +00:00

Rename jpm repl to jpm debug-repl.

This commit is contained in:
Calvin Rose 2020-05-15 17:21:58 -05:00
parent cf670153f9
commit 3bb3adefbb
3 changed files with 7 additions and 6 deletions

View File

@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
## Unreleased - ??? ## Unreleased - ???
- Add `:fresh` option to `(import ...)` to overwrite the module cache. - Add `:fresh` option to `(import ...)` to overwrite the module cache.
- `(range x y 0)` will return an empty array instead of hanging forever. - `(range x y 0)` will return an empty array instead of hanging forever.
- Rename `jpm repl` to `jpm debug-repl`.
## 1.9.1 - 2020-05-12 ## 1.9.1 - 2020-05-12
- Add :prefix option to declare-source - Add :prefix option to declare-source

6
jpm
View File

@ -1024,7 +1024,7 @@ Subcommands are:
name is lockfile.jdn. name is lockfile.jdn.
load-lockfile (lockfile) : Install modules from a lockfile in a reproducible way. The load-lockfile (lockfile) : Install modules from a lockfile in a reproducible way. The
default lockfile name is lockfile.jdn. default lockfile name is lockfile.jdn.
repl : Run a repl in the context of the current project.janet file. This lets you run rules and debug-repl : Run a repl in the context of the current project.janet file. This lets you run rules and
otherwise debug the current project.janet file. otherwise debug the current project.janet file.
Keys are: Keys are:
@ -1109,7 +1109,7 @@ Flags are:
(create-executable @{} input output) (create-executable @{} input output)
(do-rule output)) (do-rule output))
(defn jpm-repl (defn jpm-debug-repl
[] []
(def env (def env
(try (try
@ -1138,7 +1138,7 @@ Flags are:
"test" test "test" test
"help" help "help" help
"deps" deps "deps" deps
"repl" jpm-repl "debug-repl" jpm-debug-repl
"rule-tree" show-rule-tree "rule-tree" show-rule-tree
"show-paths" show-paths "show-paths" show-paths
"clear-cache" clear-cache "clear-cache" clear-cache

4
jpm.1
View File

@ -26,7 +26,7 @@ More interesting are the local commands. For more information on jpm usage, see
.TP .TP
.BR \-\-nocolor .BR \-\-nocolor
Disable color in the jpm repl. Disable color in the jpm debug repl.
.TP .TP
.BR \-\-verbose .BR \-\-verbose
@ -172,7 +172,7 @@ as function arguments. The entry file can import other modules, including native
jpm will attempt to include the dependencies into the generated executable. jpm will attempt to include the dependencies into the generated executable.
.TP .TP
.BR repl .BR debug-repl
Load the current project.janet file and start a repl in it's environment. This lets a user better 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. debug the project file, as well as run rules manually.