Breaking it down

This commit is contained in:
MangoPig
2025-12-04 09:23:10 +00:00
parent 45cd93d43d
commit 10f55ec25c
10 changed files with 276 additions and 281 deletions

View File

@@ -1,18 +1,23 @@
# Makefile for Dotfiles
# Tells Make that these targets are not actual files
.PHONY: all setup stow clean update docker-test
.PHONY: all setup stow clean update docker-test test-ubuntu test-arch storagebox
# Default target (runs when you just type 'make')
all: stow
# Full Setup
setup:
bash setup.sh
bash ./scripts/setup.sh
bash ./scripts/node.sh
bash ./scripts/go.sh
bash ./scripts/rust.sh
bash ./scripts/python.sh
@echo "Full setup completed."
# Just stow the dotfiles
stow:
stow . --target=$$HOME --ignore="setup.sh" --ignore=".git" --ignore=".gitignore" --ignore="README.md" --ignore=".zsh_secrets" --ignore=".zsh_secrets.example" --ignore="LICENSE" --ignore="Makefile" --ignore="provision.sh" --ignore="storagebox.sh"
stow . --target=$$HOME --ignore=".git" --ignore=".gitignore" --ignore="README.md" --ignore=".zsh_secrets" --ignore=".zsh_secrets.example" --ignore="LICENSE" --ignore="Makefile"
@echo "Dotfiles linked."
# Clean old files and links
@@ -25,9 +30,22 @@ update:
git pull origin main
make setup
# Language Setups
node:
bash ./scripts/node.sh
go:
bash ./scripts/go.sh
rust:
bash ./scripts/rust.sh
python:
bash ./scripts/python.sh
# Setup StorageBox
storagebox:
bash storagebox.sh
bash ./scripts/storagebox.sh
# Docker Tests
test-ubuntu: