> 1) Add a handler for "--printLicenses" in extern(C) int main. This ensures
> the text can always be printed.
> 1.1) Make sure to call checkLicenses beforehand!
> 2) Public import addLicense and registerFile in object.d
> 3, optional) Extend the module statement so that `module foo under GPLv2; `
bearophile Wrote:
> FeepingCreature:
>
> > Somebody on IRC mentioned that BSD requires including the license with
> > binaries. So .. is there any reason this won't work?
>
> Or support for the code licences management can be added to the D syntax ;-)
>
> Bye,
> bearophile
from __future__ imp
On 01.05.2010 14:33, bearophile wrote:
> FeepingCreature:
>
>> Somebody on IRC mentioned that BSD requires including the license with
>> binaries. So .. is there any reason this won't work?
>
> Or support for the code licences management can be added to the D syntax ;-)
>
> Bye,
> bearophile
I
FeepingCreature:
> Somebody on IRC mentioned that BSD requires including the license with
> binaries. So .. is there any reason this won't work?
Or support for the code licences management can be added to the D syntax ;-)
Bye,
bearophile
Somebody on IRC mentioned that BSD requires including the license with
binaries. So .. is there any reason this won't work?
(Bewarned: code is D1 and not tested)
--std/licenses.d--
module std.licenses; // License handling on a per-file basis
import std.stdio, std.string;
string[string] license