janet-lang / janet-lang.org

Website for janet
https://janet-lang.org
MIT License
90 stars 59 forks source link

Document `declare-bin`. #209

Closed amano-kenji closed 3 months ago

amano-kenji commented 7 months ago

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

sogaiu commented 7 months ago

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

sogaiu commented 7 months ago

The current docstring of declare-bin is:

Declare a generic file to be installed as an executable.

sogaiu commented 7 months ago

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

amano-kenji commented 7 months ago

:cat2:

sogaiu commented 3 months ago

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