From 1dd933e602c51016eece8ec24663b877cee0a5f0 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 14 Jul 2018 01:12:23 -0400 Subject: Hello, Pluto Provide support for creating/modifying views and setting metadata. All of git-annex's view commands are exposed, and most of the "setting" features of the 'git annex metadata' command are supported. Of the remaining bits, I intend to support only the --force flag (needed for setting metadata a directory's files). The user interface may still require a good amount of tweaking, but things seem to be in a working state. --- Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c09861c --- /dev/null +++ b/Makefile @@ -0,0 +1,33 @@ + +-include config.mk + +DASH_DIR ?= /dev/null +GHUB_DIR ?= /dev/null +WITH_EDITOR_DIR ?= /dev/null +MAGIT_POPUP_DIR ?= /dev/null +MAGIT_DIR ?= /dev/null + +EMACSBIN ?= emacs + +LOAD_PATH = -L $(DASH_DIR) -L $(WITH_EDITOR_DIR) -L $(GHUB_DIR) \ + -L $(MAGIT_POPUP_DIR) -L $(MAGIT_DIR) +BATCH = $(EMACSBIN) -Q --batch $(LOAD_PATH) + +all: annexview.elc annexview-autoloads.el + +.PHONY: test +test: annexview.elc + @$(BATCH) -L . -l annexview-tests.el \ + --eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))" + +.PHONY: clean +clean: + $(RM) *.elc annexview-autoloads.el + +%.elc: %.el + @$(BATCH) -f batch-byte-compile $< + +%-autoloads.el: %.el + @$(BATCH) --eval \ + "(let ((make-backup-files nil)) \ + (update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\"))" -- cgit v1.2.3