aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-25 13:37:25 -0700
committerGravatar Tom Willemse2019-08-25 13:37:25 -0700
commit75fe1b4c4f7ae42ae3863c9747e1cea8eb32ff43 (patch)
tree5fff30bc208348679d703861e08bb81d8ddb7b3f /GNUmakefile
parent26dbc5eac3f866d9d50a9e1d39701dcd6745f3fd (diff)
downloademacs-config-75fe1b4c4f7ae42ae3863c9747e1cea8eb32ff43.tar.gz
emacs-config-75fe1b4c4f7ae42ae3863c9747e1cea8eb32ff43.zip
Add snippets to ‘oni-elisp’
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile24
1 files changed, 20 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index da43716..6df8515 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -2,7 +2,7 @@ FILES := $(wildcard *.el)
PACKAGE_TARGETS := $(addprefix package-,$(FILES))
-package: $(PACKAGE_TARGETS) package-oni-conf package-oni-css
+package: $(PACKAGE_TARGETS) package-oni-conf package-oni-css package-oni-elisp
package-%: %
emacs --batch \
@@ -22,13 +22,19 @@ package-oni-css:
--funcall package-initialize \
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-css/dist/*.tar\") #'string>)))"
+package-oni-elisp:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-elisp/dist/*tar\") #'string>)))"
+
install-%:
emacs --batch \
--load oni-package.el \
--funcall package-initialize \
--eval '(package-refresh-contents)' \
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
- --eval "(package-install-file \"$*.el\")" \
+ --eval "(package-install-file \"$*.el\")"
install-oni-conf:
emacs --batch \
@@ -36,7 +42,7 @@ install-oni-conf:
--funcall 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-conf/dist/*.tar\") #'string>)))" \
+ --eval "(package-install-file (car (sort (file-expand-wildcards \"oni-conf/dist/*.tar\") #'string>)))"
install-oni-css:
emacs --batch \
@@ -44,7 +50,15 @@ install-oni-css:
--funcall 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-css/dist/*.tar\") #'string>)))" \
+ --eval "(package-install-file (car (sort (file-expand-wildcards \"oni-css/dist/*.tar\") #'string>)))"
+
+install-oni-elisp:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall 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-elisp/dist/*.tar\") #'string>)))"
test-%: install-%
emacs --batch \
@@ -59,6 +73,8 @@ test-oni-bookmark: DEPS := oni-data-dir
test-oni-conf: DEPS := oni-yasnippet
test-oni-css: DEPS := oni-company oni-fci
test-oni-php: DEPS := oni-flycheck oni-company oni-fci
+test-oni-elisp: DEPS := oni-company oni-flycheck oni-paredit oni-fci \
+ oni-yasnippet
clean:
rm -fv $(FILES)