Install this package:
$ jget get link
Link
This is a utility package that ships 1 (very simple) binary.
When developing stuff for JGET, you can specify 'binaries' - files that should be copied to the working directory. This puts them on the path for the shell, and so makes them very easy to run.
For a package (say pkg
), the binaries are all files in the folder /packages/<pkg>/bin
.
Link simply copies the files from the package store (for the specified package) to the working directory - as if the package had just been installed with JGET.
This is useful if you are actively developing a binary; you can edit the canonical
version in the package store, and just link <pkg>
it. No need to call the version
in the package store, or to manually update the one in the working directory
Install
You can install link from JGET:
Usage
you can call link like so:
You can specify more than one package - link will handle all of them.
You can also put link into watch mode with the -w
flag.
When in watch mode, link will routinely check
for updates, and re-copy files whenever necessary.
This includes creating new binaries, but not deleting old ones.
To get link running in watch mode do:
Again, you can specify more than one package if you like.
We use the bg
command here to run this in the background - so you can
continue using this terminal.