From ec7dc0b32e3b7e09a40a7488e784d2c6a17d70f2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 23 Aug 2019 23:39:07 -0700 Subject: Add snippets to ‘oni-css’ --- GNUmakefile | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') 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) -- cgit v1.2.3-54-g00ecf