Easier way to add addons to resources.lua?

Adding every file for each addon to resources.lua is a pain the the ass considering I have about 100 addons.
Is there an easier way to do this? Like a program that adds the files to resources.lua for you?

Help is GREATLY appreciated.

This is relevant to my interests.