mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Remove bootstrap task from makefile
This commit is contained in:
13
Makefile
13
Makefile
@ -40,18 +40,7 @@ test: init.el .local/autoloads.el
|
||||
test/%: init.el .local/autoloads.el
|
||||
@$(TEST_EMACS) -l $@.el -f 'ert-run-tests-batch-and-exit'
|
||||
|
||||
|
||||
# Syntactic sugar for bootstrapping modules. Allows: make bootstrap javascript
|
||||
# See doom/bootstrap for more information.
|
||||
ifeq (bootstrap,$(firstword $(MAKECMDGOALS)))
|
||||
ARGV := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
|
||||
$(eval $(ARGV):;@:)
|
||||
endif
|
||||
|
||||
bootstrap: init.el .local/autoloads.el
|
||||
@$(EMACS) --eval "(doom/bootstrap '($(ARGV)))"
|
||||
|
||||
|
||||
#
|
||||
init.el:
|
||||
@[ -e init.el ] || $(error No init.el file; create one or copy init.example.el)
|
||||
|
||||
|
Reference in New Issue
Block a user