aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-28 00:06:55 -0700
committerGravatar Tom Willemse2019-08-28 00:07:35 -0700
commit5ad89196c2692e0018d6cfeb708d22fd6620a027 (patch)
tree2418bb691917bd1ac1cffc8c174688c38d1258ff /GNUmakefile
parente530fbfc5f47e5fb19107f442f3d752ed049817c (diff)
downloademacs-config-5ad89196c2692e0018d6cfeb708d22fd6620a027.tar.gz
emacs-config-5ad89196c2692e0018d6cfeb708d22fd6620a027.zip
Add snippets for ‘oni-python’
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 36b22e8..557aa2a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -4,7 +4,7 @@ PACKAGE_TARGETS := $(addprefix package-,$(FILES))
package: $(PACKAGE_TARGETS) package-oni-conf package-oni-css package-oni-elisp \
package-oni-haml package-oni-html package-oni-nxml package-oni-org \
- package-oni-php
+ package-oni-php package-oni-python
package-%: %
emacs --batch \
@@ -60,6 +60,12 @@ package-oni-php:
--funcall package-initialize \
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-php/dist/*.tar\") #'string>)))"
+package-oni-python:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-python/dist/*.tar\") #'string>)))"
+
install-%:
emacs --batch \
--load oni-package.el \
@@ -132,6 +138,14 @@ install-oni-php:
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
--eval "(package-install-file (car (sort (file-expand-wildcards \"oni-php/dist/*.tar\") #'string>)))"
+install-oni-python:
+ emacs --batch \
+ --load oni-package.el \
+ --fluncall package-initialize \
+ --eval '(package-refresh-contents)' \
+ $(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
+ --eval "(package-install-file (car (sort (file-expand-wildcards \"oni-python/dist/*.tar\") #'string>)))"
+
test-%: install-%
emacs --batch \
--load oni-package.el \