M
markusjais
hello
we are building a new ruby library which will probably consist of several
dozens of source files.
we want to package it in a gem.
are there any conventions on how to structure the directories of the
library ?
in some libs I found something like this
ls -l mylib-1.0.0.0
doc
examples
lib
pkg
Rakefile
README
test
Rakefile and README would be files, the rest directories.
Rakefile would be use for building the gem.
the lib directory would look like this:
ls -l lib
mylib.rb
mylib
and within mylib there would be all the source code
are there any conventions on how to do this ?
Markus
we are building a new ruby library which will probably consist of several
dozens of source files.
we want to package it in a gem.
are there any conventions on how to structure the directories of the
library ?
in some libs I found something like this
ls -l mylib-1.0.0.0
doc
examples
lib
pkg
Rakefile
README
test
Rakefile and README would be files, the rest directories.
Rakefile would be use for building the gem.
the lib directory would look like this:
ls -l lib
mylib.rb
mylib
and within mylib there would be all the source code
are there any conventions on how to do this ?
Markus