Mac OS tests

This commit is contained in:
2026-11-21 23:51:22 +03:00
parent de7d377e42
commit 2612e5ee22
6 changed files with 103 additions and 21 deletions
+26
View File
@@ -0,0 +1,26 @@
.PHONY: lint test build clean
EMACS ?= emacs
lint:
$(EMACS) -Q --batch -L lisp \
--eval "(progn \
(require 'package) \
(package-initialize) \
(unless (package-installed-p 'package-lint) \
(package-refresh-contents) \
(package-install 'package-lint)) \
(setq package-lint-main-file \"lisp/mattermost.el\") \
(package-lint-batch-and-exit))"
test:
$(EMACS) -Q --batch -L lisp -L tests \
--eval "(require 'ert)" \
--eval "(ert-run-tests-batch-and-exit)"
build:
docker compose build
clean:
docker compose down --volumes --remove-orphans
rm -rf data/