janet-lang.org icon indicating copy to clipboard operation
janet-lang.org copied to clipboard

Document `declare-bin`.

Open amano-kenji opened this issue 1 year ago • 4 comments

I noticed that https://janet-lang.org/docs/jpm.html doesn't mention declare-bin.

amano-kenji avatar Jan 26 '24 13:01 amano-kenji

This looks similar to https://github.com/janet-lang/janet-lang.org/issues/34.

sogaiu avatar Jan 26 '24 13:01 sogaiu

The current docstring of declare-bin is:

Declare a generic file to be installed as an executable.

sogaiu avatar Feb 03 '24 09:02 sogaiu

There is now a PR (#212) with a proposal for an additional section that includes some documentation for some declare- callables, including declare-bin.

sogaiu avatar Feb 03 '24 10:02 sogaiu

:cat2:

amano-kenji avatar Feb 03 '24 11:02 amano-kenji

As #212 has been merged, I think this can be closed now.

sogaiu avatar Jun 06 '24 12:06 sogaiu