[Nitro] script/ vs helper/ vs script/helper

George Moschovitis george.moschovitis at gmail.com
Sat Jun 23 02:44:23 EDT 2007


arne, I like Tom's proposal! script/lib sounds great to me. What do you
think?

-g.



On 6/23/07, Trans <transfire at gmail.com> wrote:
>
>
>
> On Jun 21, 2:53 pm, Arne Brasseur <a... at arnebrasseur.net> wrote:
> > Dear devs,
> >
> > It's been a bit busy over here but I see Jo and G have been doing nice
> > stuff, way to go!
> >
> > I would like to propose some more source tree layout changes, let me
> > elaborate:
> >
> > the script/ dir currently looks like this
> >
> > script/repl.rb
> > script/glycerin.rb
> > script/helper/spec.rb
> > script/helper/layout.rb
> > script/helper/wrap.rb
>
> Hmm... I would think script/lib would be a better name, since that's
> what they are --reusable libraries for build scripts.
>
>   script/lib/spec.rb
>   script/lib/layout.rb
>   script/lib/wrap.rb
>
> [snip]
> > Layout and wrap are used for the specs, and I can imagine other spec
> > helpers appearing. So why not move layout and wrap to a spec subdir,
> >
> > helper/glycerin.rb
> > helper/spec.rb
> > helper/spec/layout.rb
> > helper/spec/wrap.rb
>
> Nothing wrong with
>
>   script/lib/spec/layout.rb
>   script/lib/spec/wrap.rb
>
> if you really feel it necessary to have another striation. But I
> wouldn't bother unless you have 3 or 4+ spec helpers.
>
> my 2c.
> T.
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://phidz.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070623/6b334176/attachment.html 


More information about the Nitro-general mailing list