Add Justfile to Replace Simple Scripts

- Update submodules to use working ssh remote and pull in updates
- Remove doom and stow scripts in favor of a justfile
This commit is contained in:
Sravan Balaji
2024-02-27 21:02:02 -05:00
parent b458967aa7
commit e4e2adf3eb
11 changed files with 56 additions and 101 deletions

23
justfile Normal file
View File

@@ -0,0 +1,23 @@
set shell := ["bash", "-c"]
DOOM_BIN := "~/.config/doom-emacs/bin/doom"
DOOM_DIR_PATH := "~/.config/doom-emacs-config"
doom-emacs-update: && doom-emacs-sync
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} upgrade
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} purge
doom-emacs-sync:
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} sync
doom-emacs-doctor:
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} doctor
stow-create:
stow -v -S .
stow-delete:
stow -v -D .
stow-recreate:
stow -v -R .