Fixes
This commit is contained in:
+13
-4
@@ -1,6 +1,19 @@
|
||||
project_root := justfile_directory()
|
||||
bin_script_dir := project_root + "/Scripts/bin"
|
||||
|
||||
# List the repo-managed binary names, or available releases for one tool.
|
||||
[default]
|
||||
list tool='':
|
||||
if [ -n '{{tool}}' ]; then \
|
||||
bash '{{bin_script_dir}}/update.sh' --list '{{tool}}'; \
|
||||
else \
|
||||
jq -r 'keys[]' '{{project_root}}/Bins/versions.json'; \
|
||||
fi
|
||||
|
||||
# List available releases for a supported binary.
|
||||
releases tool:
|
||||
bash '{{bin_script_dir}}/update.sh' --list '{{tool}}'
|
||||
|
||||
# Install all pinned repo-managed binaries into ~/.local/bin.
|
||||
install-all:
|
||||
bash '{{bin_script_dir}}/install.sh' --all
|
||||
@@ -13,10 +26,6 @@ install tool:
|
||||
update tool version='':
|
||||
bash '{{bin_script_dir}}/update.sh' '{{tool}}' '{{version}}'
|
||||
|
||||
# List available releases for a supported binary.
|
||||
list tool:
|
||||
bash '{{bin_script_dir}}/update.sh' --list '{{tool}}'
|
||||
|
||||
# Print the currently pinned versions.
|
||||
show:
|
||||
cat '{{project_root}}/Bins/versions.json'
|
||||
|
||||
Reference in New Issue
Block a user