Files
Dot-Zsh/Commands/Setup/mod.just
T
MangoPig eee302a4e0 Fixes
2026-07-17 00:36:54 +01:00

29 lines
720 B
Plaintext

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'
# Stow shell files into $HOME.
stow:
bash '{{scripts_dir}}/setup.sh' --stow-only
# Remove stowed shell files from $HOME.
clean:
stow --dir='{{project_root}}' -D Zsh --target="$HOME"
# Pull latest changes and rerun setup.
update:
git -C '{{project_root}}' pull origin main
just --justfile '{{project_root}}/Justfile' setup all