aim() looks for an existing Makefile, reads its content, and offers a
list of discovered Makefile targets (denoting build scripts, in our case),
all in an interactive way. When the session is not interactive, or you know
the name of the desired target, you can declare it directly in the target
argument.
Usage
aim(target = NULL)
Value
No return value. Called for side effects.
Arguments
target
Character. The name of the Makefile target to set.
Author
Jan Netik
See Also
Other functions from buildr trinity:
build(),
init()
if (FALSE) {
# We have several build scripts in our project root# and we want to select script called "build_all.R":aim(target = "all") # note that "build_" is stripped out by default}