From 58caf38935554d2bafc16080b6906fbe6902a72c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 20 Aug 2019 00:21:12 -0700 Subject: Add ‘oni-conf’ and the ability to upload multi-file packages ‘oni-conf’ is the first package to include more than one file, it’s mostly a package to allow distributing snippets. --- GNUmakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index c33f856..c584d2e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -2,7 +2,7 @@ FILES := $(wildcard *.el) PACKAGE_TARGETS := $(addprefix package-,$(FILES)) -package: $(PACKAGE_TARGETS) +package: $(PACKAGE_TARGETS) package-oni-conf package-%: % emacs --batch \ @@ -10,6 +10,12 @@ package-%: % --funcall package-initialize \ --eval '(package-upload-file "$^")' +package-oni-conf: + emacs --batch \ + --load oni-package.el \ + --funcall package-initialize \ + --eval '(package-upload-file (car (file-expand-wildcards "oni-conf/dist/*.tar")))' + test-%: emacs --batch \ --load oni-package.el \ -- cgit v1.2.3-54-g00ecf