
Duncan Mac-Vicar Prett wrote:
Ladislav Slezak wrote:
Dir["/srv/www/yastws/lib/tasks/webservice/*.rake"].each { |ext| load ext }
What is the final goal of this?
The goal is to load all tasks from the webservice base in plugins.
We also will have duplication of tasks between the web service and the web client, therefore it makes more sense to have the rake tasks defined in their own gem/library, where also stuff we use across both environments can be moved to.
OK, I agree, this was my first attempt to implement basic task sharing.
Once the tasks are in a library we don't need to hardcode paths anymore.
I'll try building a separate library... -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org