HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

raco — Racket tools. More information: <https://docs.racket-lang.org/raco/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
httpscommandracocliinformationracketmoretools

Problem

How to use the raco command: Racket tools. More information: <https://docs.racket-lang.org/raco/>.

Solution

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

Code Snippets

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}}

Context

tldr-pages: common/raco

Revisions (0)

No revisions yet.