39 lines
601 B
Makefile
39 lines
601 B
Makefile
|
EMACS ?= emacs
|
||
|
EASK ?= eask
|
||
|
|
||
|
.PHONY: clean package install compile test checkdoc lint
|
||
|
|
||
|
ci: clean package install compile checkdoc lint
|
||
|
|
||
|
package:
|
||
|
@echo "Packaging..."
|
||
|
$(EASK) package
|
||
|
|
||
|
install:
|
||
|
@echo "Installing..."
|
||
|
$(EASK) install
|
||
|
|
||
|
compile:
|
||
|
@echo "Compiling..."
|
||
|
$(EASK) compile
|
||
|
|
||
|
test:
|
||
|
@echo "Testing..."
|
||
|
$(EASK) install-deps --dev
|
||
|
$(EASK) test ert ./test/*.el
|
||
|
|
||
|
checkdoc:
|
||
|
@echo "Checking documentation..."
|
||
|
$(EASK) lint checkdoc
|
||
|
|
||
|
lint:
|
||
|
@echo "Linting..."
|
||
|
$(EASK) lint declare
|
||
|
$(EASK) lint indent
|
||
|
$(EASK) lint keywords
|
||
|
$(EASK) lint package
|
||
|
$(EASK) lint regexps
|
||
|
|
||
|
clean:
|
||
|
$(EASK) clean all
|