-
Notifications
You must be signed in to change notification settings - Fork 71
Exec Task
Derick Bailey edited this page Dec 4, 2010
·
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.
exec do |cmd|
cmd.command = "tools/my-cool-tool.exe"
cmd.parameters "--help"
end
You can specify the location of the command that you wish to use.
You can specify any valid parameter for your command, here, as an array.
This task supports configuration via an external YAML file. For more information, see the yamlconfig page.