Re: [Codemill-spec] Re: Code Mill Spec
Status: Planning
Brought to you by:
richard_kolb
From: Richard K. <rk...@sw...> - 2000-12-11 07:18:13
|
Hi All, David Snopek wrote: > Richard Kolb wrote: > > > 6) The generated code must be under 'no license'. > > I agree with what you mean by this statement, but it made me think of > something. Most of the code I write is under LGPL and the GPL. For every new > bloody file I create, I have to copy/paste the info about the license into the > top of the file. I also put a little header with a description of the file and > some macros that CVS expands. It would be really helpfull if I could some how > point to a file containing the software license/header info and CodeMill could > copy that into the created file. I can;t think of an intuitive way to work > this into the syntax... This is a very good idea, We could add a -L option to codemill that would add a license template at the top of the generated code, but by default it should not add any license, this would work similarly to the template, ie a few defaults licenses and custom licenses. I don't think we should add things like copy right etc. to the top of source files, This would start complicating things , and convert a swiss army knife into a pile of spaghetti, so to speak, If someone would like to do such a thing they should add a custom license. Thanks, Richard. |