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'
+11
View File
@@ -0,0 +1,11 @@
project_root := justfile_directory()
scripts_dir := project_root + "/Scripts"
# Print the active global Git configuration.
[default]
show:
bash '{{scripts_dir}}/git.sh' show
# Set the global Git editor. Defaults to VS Code; pass `nvim` for Neovim.
editor value='code':
bash '{{scripts_dir}}/git.sh' editor '{{value}}'
+9
View File
@@ -1,20 +1,29 @@
project_root := justfile_directory()
scripts_dir := project_root + "/Scripts"
# Install every language toolchain in full-setup order.
all: node go rust python r cpp
# Install Node.js, pnpm, Yarn, and Bun tooling.
node:
bash '{{scripts_dir}}/node.sh'
# Install Go and GVM tooling.
go:
bash '{{scripts_dir}}/go.sh'
# Install the Rust toolchain.
rust:
bash '{{scripts_dir}}/rust.sh'
# Install Python, pyenv, and Miniforge tooling.
python:
bash '{{scripts_dir}}/python.sh'
# Install R tooling.
r:
bash '{{scripts_dir}}/r.sh'
# Install the C and C++ toolchain.
cpp:
bash '{{scripts_dir}}/cpp.sh'
+5
View File
@@ -2,9 +2,14 @@ project_root := justfile_directory()
scripts_dir := project_root + "/Scripts"
# Run the full setup flow.
[default]
all:
bash '{{scripts_dir}}/setup.sh'
# Run the lightweight bootstrap flow: base packages and shell-file stow.
bootstrap:
bash '{{scripts_dir}}/setup.sh' --bootstrap-only
# Install the base system layer only.
base:
bash '{{scripts_dir}}/base.sh'