
Ladislav Slezak wrote:
Actually it would be better if we had 'package' and 'package-local' tasks, just like in Yast modules. Unfortunately rake doesn't allow to rename a task and Rake::PackageTask doesn't accept any parameter to change the default task name. (IMO it's a bug or missing feature, e.g. Rake::TestTask allows to name the test task as you wish.)
no but you can define a new task than uses Rake:: something to run another task, or aliasing it somehow? def alias_task(new_name, old_name) Rake::Task::TASKS[new_name.to_s] = Rake::Task::TASKS.delete(old_name.to_s) end -- Duncan Mac-Vicar P. - Engineering Manager, YaST SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org