Skip to content

Commit

Permalink
Merge pull request #259 from himkt/cleanup
Browse files Browse the repository at this point in the history
misc: cleanup unused recipes and configs
  • Loading branch information
himkt authored Dec 5, 2024
2 parents 0e6a49d + 7c1d0d8 commit 19c2377
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 95 deletions.
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.

0 comments on commit 19c2377

Please sign in to comment.