Diverse aanpassingen

This commit is contained in:
2026-08-09 14:56:42 +02:00
parent ac8e492aff
commit 2e1899292c
8 changed files with 63 additions and 22 deletions
+6 -5
View File
@@ -40,7 +40,7 @@ raco pkg install
For a versioned archive, give the package name explicitly:
```text
raco pkg install --name racket-makefile racket-makefile-0.1.5.zip
raco pkg install --name racket-makefile racket-makefile-0.1.6.zip
```
## Running targets
@@ -127,10 +127,11 @@ so they can be passed directly to `rm-f` and `rm-rf` with `apply`:
(displayln "done."))
```
`list-dir/files` returns matching files and directories. `list-files` and
`list-dirs` restrict the result to files or directories. All three scan one
directory level by default; use `#:recursive #t` to walk the complete tree.
Non-recursive results are returned as complete paths, so the lists can be fed
`list-dir/files` returns matching files and directories. The regexp is matched
against the file or directory name itself, not against the complete path.
`list-files` and `list-dirs` restrict the result to files or directories. All
three scan one directory level by default; use `#:recursive #t` to walk the
complete tree. Results are returned as usable paths, so the lists can be fed
directly to `rm-f` or `rm-rf` with `apply`.
## Generated targets