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.
 
 

27 lines
758 B

  1. SRCS = pass*.el
  2. TEST_ERT_FILES=$(wildcard test/*.el)
  3. LOAD_PATH = -L .
  4. EMACSBIN ?= emacs
  5. BATCH = $(EMACSBIN) -Q --batch $(LOAD_PATH) \
  6. --eval "(require 'package)" \
  7. --eval "(add-to-list 'package-archives '(\"melpa-stable\" . \"http://stable.melpa.org/packages/\"))" \
  8. --funcall package-initialize
  9. .PHONY: all clean dependencies check test lint
  10. all: test
  11. dependencies:
  12. # Install dependencies in ~/.emacs.d/elpa
  13. $(BATCH) \
  14. --eval "(progn (setq package-check-signature nil) (package-refresh-contents))" \
  15. --eval "(package-install 'ert)" \
  16. --eval "(package-install 'password-store)"
  17. test:
  18. TRAVIS=true $(BATCH) \
  19. --eval "(progn $(patsubst %,(load-file \"%\"),$(filter-out %-autoloads.el,${TEST_ERT_FILES})) (ert-run-tests-batch-and-exit))"