Re: Fredrik Hübinette Book
Robert J. Budzyński <[email protected]> Wed, 20 Oct 2021 10:10:29 +0200
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAFxCb=X=JWxnVAm+D4uFt6q5cDTORro2OEb=rB3RG57K10tSng@mail.gmail.com> |
On Wed, Oct 20, 2021 at 7:44 AM Chris Angelico <[email protected]> wrote: > On Wed, Oct 20, 2021 at 2:44 PM James Latham <[email protected]> wrote: > > > > Dear Pike lovers: > > Thanks for the very informative Blog that you have created. > > I would love to join in. > > Is there any way to create a distributable pike program? > > Ideally it would be all in one module. > > Jim Latham > > > Yes, absolutely! I've often made one-file Pike programs. For instance, > I have a git hook that I use in a number of projects, and it's all > contained in one file (called, surprisingly enough, "githook.pike"), > marked executable, and with an appropriate shebang. > > ChrisA > > Er, that assumes the pike runtime is available. I believe what Jim had in mind was a situation where you can't assume that on the user's end. -- RJ Budzyński Ośrodek Komputerowy Wydziału Fizyki UW Telegram: https://t.me/robjb