EMACS ?= emacs BATCH = $(EMACS) -Q -batch -L . -L test .PHONY: all compile test lint clean all: compile test compile: $(BATCH) -f batch-byte-compile ob-elixir.el test: $(BATCH) -l ert -l test/test-ob-elixir.el \ -f ert-run-tests-batch-and-exit lint: $(BATCH) --eval "(require 'package)" \ --eval "(package-initialize)" \ --eval "(package-refresh-contents)" \ --eval "(package-install 'package-lint)" \ -l package-lint \ -f package-lint-batch-and-exit ob-elixir.el clean: rm -f *.elc test/*.elc