Re: Documentation
Russel Winder <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2017-04-17 at 08:24 -0700, Bill Deegan wrote: > Can you share your work in progress on bitbucket? The experimental repository is at https://github.com/russel/SCons_D_Exp eriment Even though SCons is a Mercurial world, the D world is a Git/GitHub one. Given that Atlassian have turned BitBucket into a Git place to compete with GitHub, I could push it to BitBucket as well, but I am not sure the dilution would achieve anything. > On Mon, Apr 17, 2017 at 2:06 AM, Russel Winder <[email protected]> > wrote: > > > On Sun, 2017-04-16 at 11:19 -0700, Bill Deegan wrote: > > > Not sure what you mean.. Can you explain? > > > > For the dub tool, I believe I need a target node that is not a > > SCons.Node.FS.File nor a SCons.Node.FS.Dir, but the builder > > infrastructure is demanding that this be the case. I thus wanted to > > create a _Library class that was a sub-class of SCons.Node.FS.File > > but > > with all the rest of the information carried as well. (I may be > > going > > up totally the wrong tree, but this is learning by hacking, seeking > > feedback.) So I was looking for documentation to find out how to > > call > > the superclass initialiser, i.e. SCons.Node.FS.File.__init__. In the end I created a Subclass of SCons.Node.FS.File focussing on representing the library archive created, but carrying lots of other knowledge. I eventually settled on calling the superclass constructor at the end of the subclass constructor (don't you just love Python :-) thus: SCons.Node.FS.File.__init__(self, name, env.Dir(location), self) but I am really not sure that last argument is right. It works but it doesn't feel right. However there is no documentation on the fs parameter that I can find. I think maybe I am just not looking hard enough. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder _______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAlj1zaIACgkQ1L3V0s7N p7jl0w//YpViHv0yQW8pP4LhVagNmC+OJE8SGkCmI/PhNo0yDwTH1weDOGc6kYE9 t6LI801F2Ksyh5sqgTg3bLLlyKtNmzqHXbhCuLZge9q9Bz6GldAl3YDMXVVIRYAQ +JZgCgSfZdPgO0kU4Ktp9GSRRDVT0s/EFANj3SKtVoM8quQ42Go17sOvacT5FGOo gq5OooiP0G/mGkWOZcS1seg0SBUle9D7ge60pDdt1krVPiJT8TUAQODVHq/nAgqf PIAIwZLPjONljySRVpAW5NquThny7sZQMF5KfLpxpJwNTEqoPgW7ACIu8nyM2aG2 FMLiIhsmzHFUR6/nNMYQTHviEhj2tMxiZOMuTacnotLyGY5FNyqM5JXw/Zyil5rJ +cxko+DlRowgExGYLts0ZcYUPaSiXheuNiTV8qoFTYyw0KLleLMYI1KN8jv1JuzW 4tdVVEoY7U2ZcvG6Qy6FKNHFS6ops2orSHKKAocxFvtf6ldXJpB/wVSsZcAU9mK4 6RQNdLXbY9Qh/neOsJRGBXZfufIJTjgxiCXuCjHJX8YzfAUFo7V6M/MXOJQ23u6K mg2T9aj6o8aeMmjC4oin0g9/HMLrjuGdEMdJp0L22HW95s3W80oVQSNKsAmzVJ7q Q2JQcE0BfT2aSuwl09HQ9ZZEwBDhX2PTK+DAAdzyACb7/qOA3EQ= =rFZl -----END PGP SIGNATURE-----