mirror of
https://codeberg.org/hyperreal/home-manager
synced 2024-11-25 16:33:42 +01:00
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# justfile for common household tasks
|
|
|
|
set shell := ["zsh", "-cu"]
|
|
|
|
go-tools:
|
|
go install golang.org/x/tools/gpls@latest
|
|
go install github.com/fatih/gomodifytags@latest
|
|
go install github.com/cweill/gotests/...@latest
|
|
go install github.com/x-motemen/gore/cmd/gore@latest
|
|
go install golang.org/x/tools/cmd/guru@latest
|
|
|
|
python-tools:
|
|
pipx install --include-deps ansible
|
|
pipx install black
|
|
pipx install nose
|
|
pipx install pytest
|
|
pipx install hyfetch
|
|
pip install --user pyright
|
|
|
|
webdev-tools:
|
|
sudo npm install -g @catppuccin/inkcat
|
|
sudo npm install -g prettier
|
|
sudo npm install -g js-beautify
|
|
sudo npm install -g stylelint
|
|
sudo dnf install -y tidy
|
|
|
|
rust-tools:
|
|
source "${HOME}/.cargo/env"
|
|
cargo install cargo-binstall
|
|
cargo_pkgs=(arp-scan bandwhich bat diskonaut du-dust fblog fd hyperfine procs ripgrep skim vivid wthrr)
|
|
for pkg in "${cargo_pkgs[@]}"; do cargo-binstall -y "$pkg"; done
|
|
|
|
refresh-doom-emacs:
|
|
rm -rf "${HOME}/.config/emacs"
|
|
git clone --depth 1 https://github.com/doomemacs/doomemacs "${HOME}/.config/emacs"
|
|
"${HOME}/.config/emacs/bin/doom" install --force --verbose
|
|
|
|
rustup:
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|