Sujet : Re: adding packages to tclexecomp
De : luc (at) *nospam* sep.invalid (Luc)
Groupes : comp.lang.tclDate : 18. Dec 2024, 17:24:50
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20241218132450.11f72061@lud1.home>
References : 1 2
On Wed, 18 Dec 2024 09:50:11 +0100, Michael Niehren wrote:
you can add your own package by putting it under the wrap-directory like
described in the documentation.
>
On runtime you then have access to it over the /cvfs mountpoint. You can
also append an directory under /cvfs to the autopath variable and so it
it is possible to do an "package require yourpackage". The included modules
are handled the same way.
>
with the call of "tclexecomp -gui" you can customize the included modules.
Currently you can only delete modules. Maybe i can extend it to add
modules. So you will be able to build an customized tclexecomp with your
special package included. This way you don't have to include it on
wrapping.
**************************
Hi, Michael. That's excellent. Thank you.
Pray tell, is there something I can add to my script to determine
whether it's being run by/in tclexecomp or not, so it can fail gracefully
if the condition is not met? Anything I can test against?
-- Luc>