aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-28 00:09:30 -0700
committerGravatar Tom Willemse2019-08-28 00:09:30 -0700
commit567d78a12c2acc2ce0c75871948825089c94fd09 (patch)
tree08f6a8e676d0d837d5b95eb67ac6781e81910bcb /GNUmakefile
parent5ad89196c2692e0018d6cfeb708d22fd6620a027 (diff)
downloademacs-config-567d78a12c2acc2ce0c75871948825089c94fd09.tar.gz
emacs-config-567d78a12c2acc2ce0c75871948825089c94fd09.zip
Add snippets for ‘oni-ruby’
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 557aa2a..2b478ff 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-python
+ package-oni-php package-oni-python package-oni-ruby
package-%: %
emacs --batch \
@@ -66,6 +66,12 @@ package-oni-python:
--funcall package-initialize \
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-python/dist/*.tar\") #'string>)))"
+package-oni-ruby:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-ruby/dist/*.tar\") #'string>)))"
+
install-%:
emacs --batch \
--load oni-package.el \
@@ -146,6 +152,14 @@ install-oni-python:
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
--eval "(package-install-file (car (sort (file-expand-wildcards \"oni-python/dist/*.tar\") #'string>)))"
+install-oni-ruby:
+ 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-ruby/dist/*.tar\") #'string>)))"
+
test-%: install-%
emacs --batch \
--load oni-package.el \