I have piece of code from my rakefile. Few tasks have to have multiple parameters.
desc 'confidential'
task :task1, [:targetPrj, :arg1] do |t,args|
args.with_defaults(:arg1 => "0")
TARGET_PROJECT = args[:targetPrj]
TEST_SW = args[:emcTest]
makeApp(t)
end
If I call rake task1[TARGET _1] everything is OK, but if I add second parameter rake task1[TARGET _1, 5] then I get:
Rake aborted!
Don't know how to build task task1[TARGET_1, '
I really do not know what is wrong?
The parameters should be separated by commas without spaces: