pull/218/head
Matthew Butterick 5 years ago
parent 72df2d2477
commit 3e96eb5c6a

@ -1 +1 @@
1573239737 1573240379

@ -49,7 +49,7 @@ Displays a list of available commands.
Start the project server from the current directory using the default port, which is the value of the parameter @racket[current-server-port] (by default, port @id[default-project-server-port]). Start the project server from the current directory using the default port, which is the value of the parameter @racket[current-server-port] (by default, port @id[default-project-server-port]).
This command can be invoked with two optional arguments, and several optional switches. This command can be invoked with two optional arguments, and two optional switches.
@racket[raco pollen start _path] will start the project server from @racket[_path] rather than the current directory (making @racket[_path] its root directory). @racket[raco pollen start _path] will start the project server from @racket[_path] rather than the current directory (making @racket[_path] its root directory).
@ -76,6 +76,9 @@ Adding the optional @exec{--local} switch will restrict the project server to re
This command can be invoked two ways: in source mode or directory mode. This command can be invoked two ways: in source mode or directory mode.
In both modes, the optional @exec{--dry-run} or @exec{-d} switch prints the paths that would be rendered by this command without actually doing so.
@bold{Source mode}: @racket[raco pollen render _source ...] will render only the source paths specified in @racket[_source ...]. Consistent with the usual command-line idiom, this can be a single path, a list of paths, or a pattern: @bold{Source mode}: @racket[raco pollen render _source ...] will render only the source paths specified in @racket[_source ...]. Consistent with the usual command-line idiom, this can be a single path, a list of paths, or a pattern:
@terminal{ @terminal{
@ -115,8 +118,6 @@ As a rule of thumb, parallel rendering works best if you do @exec{raco setup} fi
> raco pollen render -p > raco pollen render -p
} }
The optional @exec{--dry-run} or @exec{-d} switch prints the paths that would be rendered by this command without actually doing so.
@italic{Warning}: In all cases, the newly rendered output file will overwrite any previous output file. @italic{Warning}: In all cases, the newly rendered output file will overwrite any previous output file.

Loading…
Cancel
Save