Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Exec Task

Derick Bailey edited this page · 4 revisions

Generic Command Execution Task

As a way to help people use the built in logging and auto-configuration capabilities of Albacore, a generic CommandTask has been added. This task will allow you to run any arbitrary command, with parameters, from your rakefile.

How to use the ExecTask


exec do |cmd|
	cmd.command = "tools/my-cool-tool.exe"
	cmd.parameters "--help"
end

command (required)

You can specify the location of the command that you wish to use.

parameters (optional)

You can specify any valid parameter for your command, here, as an array.

YAML configuration

This task supports configuration via an external YAML file. For more information, see the yamlconfig page.

Something went wrong with that request. Please try again.