Rake: the way to configure specially task options.
The ANT experience make me naturally think that rake should suppot the following syntax to configure the options of an specially predifined task.
task :javac do |opt|
opt.classpath = 'build/classes'
opt.target='1.4'
end
Isn't it?
task :javac do |opt|
opt.classpath = 'build/classes'
opt.target='1.4'
end
Isn't it?
留言