A major mode for password-store
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
758 B

SRCS = pass*.el
TEST_ERT_FILES=$(wildcard test/*.el)
EMACSBIN ?= emacs
BATCH = $(EMACSBIN) -Q --batch $(LOAD_PATH) \
--eval "(require 'package)" \
--eval "(add-to-list 'package-archives '(\"melpa-stable\" . \"http://stable.melpa.org/packages/\"))" \
--funcall package-initialize
.PHONY: all clean dependencies check test lint
all: test
# Install dependencies in ~/.emacs.d/elpa
$(BATCH) \
--eval "(progn (setq package-check-signature nil) (package-refresh-contents))" \
--eval "(package-install 'ert)" \
--eval "(package-install 'password-store)"
TRAVIS=true $(BATCH) \
--eval "(progn $(patsubst %,(load-file \"%\"),$(filter-out %-autoloads.el,${TEST_ERT_FILES})) (ert-run-tests-batch-and-exit))"