24 lines
952 B
Plaintext
24 lines
952 B
Plaintext
|
|
(I had the Python package set up to upload to PyPI as "Thun", but the
|
|
whole Python distribution story seems unsettled at the moment (2023) so
|
|
I've gone back to the *old ways*: there is a single script ``joy.py``
|
|
that gets modified (``defs.txt`` is inserted) to create a ``joy`` script
|
|
that uses the "shebang" trick to pretend to be a binary. In other words,
|
|
run ``make`` and put the resulting ``joy`` script in your PATH, if that's
|
|
what you want to do. In a year or two the Python folks will have sorted
|
|
things out and we can go back to ``pip install Thun`` or whatever.)
|
|
|
|
|
|
nim cc \
|
|
-d:release \
|
|
--stackTrace:off \
|
|
--lineTrace:off \
|
|
--checks:off \
|
|
--assertions:off \
|
|
--debugger:native \
|
|
joy.nim
|
|
|
|
nim doc --project --index:on --git.url:"https://git.sr.ht/~sforman/Bliss" --git.commit:10b5651ed242fb16c29f2c1f7340d77f65926ca4 --outdir:htmldocs joy.nim
|
|
|
|
https://git.sr.ht/~sforman/Bliss/tree/10b5651ed242fb16c29f2c1f7340d77f65926ca4/item/types.nim#L26
|