Add Comments to Justfile
This commit is contained in:
parent
a407c3cdff
commit
6db5842ea7
10
README.org
10
README.org
@ -9868,22 +9868,32 @@ set shell := ["bash", "-c"]
|
|||||||
DOOM_BIN := "~/.config/doom-emacs/bin/doom"
|
DOOM_BIN := "~/.config/doom-emacs/bin/doom"
|
||||||
DOOM_DIR_PATH := "~/.config/doom-emacs-config"
|
DOOM_DIR_PATH := "~/.config/doom-emacs-config"
|
||||||
|
|
||||||
|
# List just commands by default
|
||||||
|
default:
|
||||||
|
@just --list
|
||||||
|
|
||||||
|
# Update doom emacs and sync config
|
||||||
doom-emacs-update: && doom-emacs-sync
|
doom-emacs-update: && doom-emacs-sync
|
||||||
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} upgrade
|
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} upgrade
|
||||||
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} purge
|
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} purge
|
||||||
|
|
||||||
|
# Sync doom emacs config
|
||||||
doom-emacs-sync:
|
doom-emacs-sync:
|
||||||
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} sync
|
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} sync
|
||||||
|
|
||||||
|
# Check doom emacs & config for issues
|
||||||
doom-emacs-doctor:
|
doom-emacs-doctor:
|
||||||
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} doctor
|
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} doctor
|
||||||
|
|
||||||
|
# Create softlinks from .dotfiles to home directory
|
||||||
stow-create:
|
stow-create:
|
||||||
stow -v -S .
|
stow -v -S .
|
||||||
|
|
||||||
|
# Remove softlinks from .dotfiles to home directory
|
||||||
stow-delete:
|
stow-delete:
|
||||||
stow -v -D .
|
stow -v -D .
|
||||||
|
|
||||||
|
# Remove and re-create softlinks from .dotfiles to home directory
|
||||||
stow-recreate:
|
stow-recreate:
|
||||||
stow -v -R .
|
stow -v -R .
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
10
justfile
10
justfile
@ -3,21 +3,31 @@ set shell := ["bash", "-c"]
|
|||||||
DOOM_BIN := "~/.config/doom-emacs/bin/doom"
|
DOOM_BIN := "~/.config/doom-emacs/bin/doom"
|
||||||
DOOM_DIR_PATH := "~/.config/doom-emacs-config"
|
DOOM_DIR_PATH := "~/.config/doom-emacs-config"
|
||||||
|
|
||||||
|
# List just commands by default
|
||||||
|
default:
|
||||||
|
@just --list
|
||||||
|
|
||||||
|
# Update doom emacs and sync config
|
||||||
doom-emacs-update: && doom-emacs-sync
|
doom-emacs-update: && doom-emacs-sync
|
||||||
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} upgrade
|
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} upgrade
|
||||||
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} purge
|
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} purge
|
||||||
|
|
||||||
|
# Sync doom emacs config
|
||||||
doom-emacs-sync:
|
doom-emacs-sync:
|
||||||
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} sync
|
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} sync
|
||||||
|
|
||||||
|
# Check doom emacs & config for issues
|
||||||
doom-emacs-doctor:
|
doom-emacs-doctor:
|
||||||
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} doctor
|
DOOMDIR={{DOOM_DIR_PATH}} {{DOOM_BIN}} doctor
|
||||||
|
|
||||||
|
# Create softlinks from .dotfiles to home directory
|
||||||
stow-create:
|
stow-create:
|
||||||
stow -v -S .
|
stow -v -S .
|
||||||
|
|
||||||
|
# Remove softlinks from .dotfiles to home directory
|
||||||
stow-delete:
|
stow-delete:
|
||||||
stow -v -D .
|
stow -v -D .
|
||||||
|
|
||||||
|
# Remove and re-create softlinks from .dotfiles to home directory
|
||||||
stow-recreate:
|
stow-recreate:
|
||||||
stow -v -R .
|
stow -v -R .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user