Re: Apache license headers

2007-03-30 Thread Matthieu Riou
Okay, if nobody shouts against it I'll just go for it. Thanks, Matthieu On 3/30/07, Vadim Gritsenko <[EMAIL PROTECTED]> wrote: Matthieu Riou wrote: > Thanks! I remembered seeing this script somewhere but I wanted to have a > small Ruby script to be easily callable from Rake. Plus writing it wa

Re: Apache license headers

2007-03-30 Thread Vadim Gritsenko
Matthieu Riou wrote: Thanks! I remembered seeing this script somewhere but I wanted to have a small Ruby script to be easily callable from Rake. Plus writing it was somewhat quicker than looking for it and it's sometimes fun to reinvent the wheel ;) since no /ruby exists at that location, i s

Re: Apache license headers

2007-03-30 Thread Matthieu Riou
Thanks! I remembered seeing this script somewhere but I wanted to have a small Ruby script to be easily callable from Rake. Plus writing it was somewhat quicker than looking for it and it's sometimes fun to reinvent the wheel ;) On 3/30/07, Vadim Gritsenko <[EMAIL PROTECTED]> wrote: Matthieu Ri

Re: Apache license headers

2007-03-30 Thread Vadim Gritsenko
Matthieu Riou wrote: Hi, I've just written a small Ruby script to check whether all your files have the Apache license headers and optionally add them where they're missing. It's as simple as: ruby check_license_headers.rb # list files with no header ruby check_license_headers.

Re: Apache license headers

2007-03-30 Thread Henning Schmiedehausen
Very nice! I love the compactness and readability of Ruby (no joke!). If you are interested in a more overengineered solution to that problem, there is CodeWrestler at http://henning.schmiedehausen.org/eyewiki/Wiki.jsp?page=CodeWrestler Especially the license.ReLicense and license.CheckLicense