Closed as not planned
Description
this action adds typst
to the path; for testing packages with multiple Typst versions it would be desirable that different versions could be installed under different executable names, to that in the end for example typst
and typst-0.10
end up on the Path.
I can imagine a few different ways this could work:
- add a parameter like
executable-name
that you could set totypst-0.10
. If specified, the executable is renamed - add a parameter like
use-version-suffix
that you could set to true. If true, either- rename the executable
- add a symlink that uses
typst-version
for the suffix - add symlinks for all prefixes of the actual resolved version number, e.g.
0
,0.10
and0.10.0
- always add these symlinks; they don't hurt, even if the executable is used through the name
typst
. As each invocation ofsetup-typst
prepends an entry to the path, the last one will determine the version found under the nametypst
Metadata
Metadata
Assignees
Labels
No labels