aim {buildr}R Documentation

Set Makefile Target

Description

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)

Arguments

target

Character. The name of the Makefile target to set.

Value

No return value. Called for side effects.

Author(s)

Jan Netik

See Also

Other functions from buildr trinity: build(), init()

Examples

## Not run: 
# 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

## End(Not run)

[Package buildr version 0.1.1 Index]