Skip to content

Commit

Permalink
chore: provide make update
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 1, 2023
1 parent 5692b8d commit 4d6af7d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
EMACS_DIR=.
EMACS=emacs
EMACS_BATCH=emacs --batch --script init.el

all:
@echo "Cleaning options are: clean, clean_all, prune, loaddefs."
Expand Down Expand Up @@ -27,10 +28,13 @@ loaddefs:
rm $(EMACS_DIR)/core/me-loaddefs.el

pull:
$(EMACS) --eval='(straight-pull-all)'
$(EMACS_BATCH) --eval='(straight-pull-all)'

rebuild:
$(EMACS) --eval='(straight-rebuild-all)'
$(EMACS_BATCH) --eval='(straight-rebuild-all)'

check:
$(EMACS) --eval='(straight-check-all)'
$(EMACS_BATCH) --eval='(straight-check-all)'

update:
$(EMACS_BATCH) --eval='(minemacs-update)'

0 comments on commit 4d6af7d

Please sign in to comment.