aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2024-02-04 15:25:15 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2024-02-04 15:34:54 +0200
commitb8cc2c18d9bc0292626a6b84e76fb39c1cd4b757 (patch)
tree9b3a226d22cac45929f82f05c9d721ee5fc52d2b /README.md
parent0e855ea96096fd1d429ae0c9bae265c15abcc887 (diff)
Add `make test`, refactor tests
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index a390386..766801a 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,7 @@ Note: on some systems you need to set `PKG_CONFIG_PATH` to a path that contains
Install dependencies, build and install to your preferred location:
make deps
+ make test # optionally run tests
make dynamic # or make static
PREFIX=$HOME/.local/bin/ make install
@@ -31,9 +32,10 @@ See `desmoctl help`.
Run the tool in the interpreter:
- # Set DEBUG=1 to show debug prints
- # Set INLINE_TESTS=1 to run unit tests before execution (not available when compiled)
- csi -s run.scm
+ csi -s run.scm # run CLI
+ csi -s test.scm # run unit tests
+
+In my workflow, loading `desmoctl.scm` to a long-lived REPL is pretty convenient.
## Copyright