16.Provides
List of Binaries/Packages Generated during Build (TYPE: RECOMMENDED)
#Example ONLY
# $pkg itself will always be a default value, so not needed if contains only 1 program and that 1 program is $pkg itself
provides:
- "prog-a"
- "prog-b"
alias
symlink
symlink-only
It is possible to specify a operation with =>
as a separator, provided that the original $prog is the first value ()
This also means, Only the SYMLINK would be available in $PATH
provides:
- "prog-original=>prog-new" # prog-original would get symlinked as prog-new
#Example:
# - "ripgrep=>rg" --> ripgrep is the main program , but since `rg` is also defined with =>, soar will symlink the ripgrep package as rg in BINDIR
#Only renames the symlink, the original name will still be present in INSTALL_DIR
#When Invoked from the cmdline, only rg would be found
Last updated
Was this helpful?