Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: cleanup unused recipes and configs #259

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,3 @@ jobs:
run: |
cp -r $GITHUB_WORKSPACE $HOME/dotfiles && cd $HOME/dotfiles
make

- name: make {brew,brew-optional}
run: |
make brew
make brew-base
make brew-optional

- name: zsh
run: |
make zsh
make sheldon
47 changes: 3 additions & 44 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,9 @@
RED := $(shell tput setaf 1)
NOCOLOR := $(shell tput sgr0)

.PHONY: \
all docs brew \
base cli gui \
.PHONY: all docs \
cargo git \
nvim poetry tmux uv zsh

all: clean base docs

# =========================

brew:
$(PWD)/brew/bin/setup.sh

brew-base:
brew bundle --verbose --no-lock --file=$(PWD)/brew/config.d/base/Brewfile

brew-optional:
brew bundle --verbose --no-lock --file=$(PWD)/brew/config.d/optional/Brewfile

brew-gui:
brew bundle --verbose --no-lock --file=$(PWD)/brew/config.d/gui/Brewfile

krew-base:
kubectl krew install open-svc oidc-login ns images ctx hns stern neat

# =========================

base: cargo git tmux zsh
nvim tmux uv zsh

cargo: cargo_clean
$(PWD)/cargo/bin/setup.sh
Expand All @@ -46,12 +21,6 @@ nvim: nvim_clean
poetry: poetry_clean
$(PWD)/poetry/bin/setup.sh

rye: rye_clean
curl -sSf https://rye-up.com/get | bash

sheldon: sheldon_clean
$(PWD)/sheldon/bin/setup.sh

tmux: tmux_clean
$(PWD)/tmux/bin/setup.sh

Expand All @@ -68,7 +37,7 @@ zsh: zsh_clean

clean: \
cargo_clean \
git_clean nvim_clean poetry_clean \
git_clean nvim_clean \
tmux_clean zsh_clean

cargo_clean:
Expand All @@ -87,16 +56,6 @@ nvim_clean:
rm -rf $(HOME)/.vim
rm -rf $(HOME)/.config/nvim

poetry_clean:
rm -rf $(HOME)/.config/pypoetry
rm -rf $(HOME)/Library/Application\ Support/pypoetry

rye_clean:
./rye/bin/clean.sh

sheldon_clean:
rm -rf $(HOME)/.config/sheldon

tmux_clean:
rm -rf $(HOME)/.tmux.conf

Expand Down
14 changes: 0 additions & 14 deletions poetry/bin/setup.sh

This file was deleted.

2 changes: 0 additions & 2 deletions poetry/config.d/config.toml

This file was deleted.

3 changes: 0 additions & 3 deletions rye/bin/clean.sh

This file was deleted.

4 changes: 0 additions & 4 deletions sheldon/bin/setup.sh

This file was deleted.

17 changes: 0 additions & 17 deletions sheldon/config.d/plugins.toml

This file was deleted.