-rw-r--r--
153 words
1 min5 code blocks1 figure
2024-10-06
raco: Racket's Package Management System (and More)
In the Racket programming language, raco is a command-line tool used to interact with Racket's package management system, run tests, build documentation, and perform other tasks related to Racket development. It's a versatile utility that automates various tasks in Racket projects.
Some of the common uses of raco include:
- Package Management: You can install, remove, or update Racket packages using commands like:
raco pkg install <package-name>
raco pkg remove <package-name>
raco pkg update <package-name>
- Compiling Racket Programs:
racocan compile Racket files to bytecode or even to an executable:
raco make <file.rkt>
- Running Tests: Racket includes support for automated tests, and you can run tests using
raco test:
raco test <file.rkt>
- Building Documentation: Racket supports generating documentation, and
racocan be used to build the documentation for a package:
raco docs <package-name>
- Creating Executables: You can use
raco exeto create standalone executables from Racket code:
raco exe <file.rkt>
raco simplifies project management by providing a unified interface for all these tasks, making it essential for anyone working on Racket projects.
corey@gallon.me:~$ tail -f /writing
Attach to the stream.
An email when I have something worth sending.
Replies encouraged!
corey@gallon.me:~$ ls -lt /til
↑2024-10-06
Writing Racket (Scheme) in Jupyter Notebooks
▸2024-10-06
raco: Racket's Package Management System (and More) ⋅ you are here
↓2024-09-15
Debugging Python Tests in VSCode