This commit is contained in:
MangoPig
2026-07-17 00:36:54 +01:00
parent d79cb9a62b
commit eee302a4e0
10 changed files with 160 additions and 60 deletions
+13 -4
View File
@@ -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'