-
Notifications
You must be signed in to change notification settings - Fork 14
ProjectLayout
alexvollmer edited this page Sep 12, 2010
·
1 revision
The project layout will attempt to adhere closely to RubyGem standards. Ideally it would be nifty if we could package this up as a gem so let’s not make this any harder for ourselves than necessary. :-)
The main code goes in the lib
directory. We can start with the module breakdowns that are suggested in the book, but we should feel free to deviate from that in order to write more idiomatic Ruby.
Our tests will be written in [RSpec]http://rspec.info and all go in the spec
directory.
Any executables will go in the bin
directory.
There should be a top-level Rakefile
for handling things like running specs, running RCov, packaging as a gem etc. etc.