Hi, is it currently possible to import file contents into pillar? For example I have a script stored in my-script.st and I would like to do something like [[[source=my-script.st ]]] or {import 'my-another-pillar-file.pillar'} or something like that. I can overcome this with some bash preprocessing, but is there some syntax, or plan for it directly in Pillar? Thanks, Peter
Hi peter I do not think that this is possible. We should probably add support for it. Stef
is it currently possible to import file contents into pillar?
For example I have a script stored in my-script.st <http://my-script.st> and I would like to do something like
[[[source=my-script.st <http://my-script.st> ]]] or {import 'my-another-pillar-file.pillar'} or something like that.
I can overcome this with some bash preprocessing, but is there some syntax, or plan for it directly in Pillar?
Thanks, Peter
Peter Uhnák writes:
Hi,
is it currently possible to import file contents into pillar?
For example I have a script stored in my-script.st and I would like to do something like
[[[source=my-script.st ]]]
thanks for the feature suggestion. This is now in http://www.smalltalkhub.com/#!/~Pier/Pillar under the section "Script externalization".
{import 'my-another-pillar-file.pillar'} or something like that.
this was already in the feature list under "Transformers". -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill
participants (3)
-
Damien Cassou -
Peter Uhnák -
stepharo