Files
cheatsheet-tldr/tldr/raco
2025-06-30 00:22:10 +00:00

34 lines
666 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# raco
> Racket tools.
> More information: <https://docs.racket-lang.org/raco/>.
- Install a package, automatically installing dependencies:
`raco pkg install --auto {{package_source}}`
- Install the current directory as a package:
`raco pkg install`
- Build (or rebuild) bytecode, documentation, executables, and metadata indexes for collections:
`raco setup {{collection1 collection2 ...}}`
- Run tests in files:
`raco test {{path/to/tests1.rkt path/to/tests2.rkt ...}}`
- Search local documentation:
`raco docs {{search_terms}}`
- Display help:
`raco help`