rjpbonnal / bioruby-gem

BioGem helps Bioinformaticians start developing plugins/modules for BioRuby creating a scaffold and a gem package
MIT License
15 stars 4 forks source link

biogem 'convention over configuration' #27

Open pjotrp opened 12 years ago

pjotrp commented 12 years ago

I think biogem should default to the following switches:

--with-bin --rspec --cucumber --with-ext --with-yard

and perhaps more. It is much easier to remove files after generating a biogem, than thinking later: 'Oops, I should have added this switch'. Besides, people can learn from what is generated. Similarly both README.rdoc and README.md can be generated.

It is better to leave the option of having a little more, than a too little. Generated code is harmless.

wwood commented 12 years ago

Typos: --with-ext => --with-ffi and --with-yard => `--yard

I'm not sure I agree that this is quite "convention over configuration" in the usual sense, more just "sensible defaults". But that's just me.