[Codemill-spec] Re: proposed -L option
Status: Planning
Brought to you by:
richard_kolb
From: John L. <ja...@al...> - 2000-12-14 02:47:34
|
>> > 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, Why not just make this part of the template file that has already been added to the spec? One would specify what should be in the header of the source file, the header of the header file, same for the footers, and then the format of the different code snippets that Code Mill creates. One would probably only need to have one variable, the date, since names, etc. would be entered by hand (once) into each peronalized template files. John |