This commit is contained in:
Jen-Chieh Shen
2022-05-10 17:44:47 +08:00
committed by GitHub
parent 4badcf6a0c
commit d9e1f7f766
5 changed files with 95 additions and 2 deletions

36
Makefile Normal file
View File

@@ -0,0 +1,36 @@
SHELL := /usr/bin/env bash
EMACS ?= emacs
EASK ?= eask
.PHONY: clean checkdoc lint package install compile test
# TODO: add `lint` if we can?
ci: clean package install compile checkdoc
package:
@echo "Packaging..."
$(EASK) package
install:
@echo "Installing..."
$(EASK) install
compile:
@echo "Compiling..."
$(EASK) compile
test:
@echo "Testing..."
$(EASK) ert ./test/*.el
checkdoc:
@echo "Run checkdoc..."
$(EASK) checkdoc
lint:
@echo "Run package-lint..."
$(EASK) lint
clean:
$(EASK) clean-all