How to give this project a standard gem structure.
- Run
bundle gem in the root of the project to get a .gemspec, a Gemfile, and a lib directory with a version.rb.
- Move Ruby code files to
lib/knife/libvirt/(flavor|host|server|storage).rb.
- Add a
lib/knife/libvirt.rb which requires each of the above.
- Add a
lib/knife-libvirt.rb which requires knife/libvirt (optional).
How to give this project a standard gem structure.
bundle gemin the root of the project to get a.gemspec, aGemfile, and alibdirectory with aversion.rb.lib/knife/libvirt/(flavor|host|server|storage).rb.lib/knife/libvirt.rbwhich requires each of the above.lib/knife-libvirt.rbwhich requiresknife/libvirt(optional).