Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
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
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.