aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-08-23 23:39:07 -0700
committerGravatar Tom Willemse2019-08-23 23:39:07 -0700
commitec7dc0b32e3b7e09a40a7488e784d2c6a17d70f2 (patch)
treeedeadfae24be718514d8aee1c876b30a30d62b5f /GNUmakefile
parent5bb510e6592f89b83007213d22c9e98a7fab98fc (diff)
downloademacs-config-ec7dc0b32e3b7e09a40a7488e784d2c6a17d70f2.tar.gz
emacs-config-ec7dc0b32e3b7e09a40a7488e784d2c6a17d70f2.zip
Add snippets to ‘oni-css’
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 79a833c..e6d2dc3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -16,6 +16,12 @@ package-oni-conf:
--funcall package-initialize \
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-conf/dist/*.tar\") #'string>)))"
+package-oni-css:
+ emacs --batch \
+ --load oni-package.el \
+ --funcall package-initialize \
+ --eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-css/dist/*.tar\") #'string>)))"
+
install-%:
emacs --batch \
--load oni-package.el \
@@ -32,6 +38,14 @@ install-oni-conf:
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
--eval "(package-install-file (car (sort (file-expand-wildcards \"oni-conf/dist/*.tar\") #'string>)))" \
+install-oni-css:
+ 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-css/dist/*.tar\") #'string>)))" \
+
test-%: install-%
emacs --batch \
--load oni-package.el \
@@ -41,10 +55,10 @@ test-%: install-%
--eval "(setq ert-batch-backtrace-right-margin nil)" \
--funcall ert-run-tests-batch-and-exit
-test-oni-css: DEPS := oni-company oni-fci
test-oni-bookmark: DEPS := oni-data-dir
-test-oni-php: DEPS := oni-flycheck oni-company oni-fci
test-oni-conf: DEPS := oni-yasnippet
+test-oni-css: DEPS := oni-company oni-fci
+test-oni-php: DEPS := oni-flycheck oni-company oni-fci
clean:
rm -fv $(FILES)