2019-03-28 08:53:55 +01:00
|
|
|
FILES := $(wildcard *.el)
|
|
|
|
|
|
|
|
PACKAGE_TARGETS := $(addprefix package-,$(FILES))
|
|
|
|
|
2019-08-28 08:09:07 +02:00
|
|
|
package: $(PACKAGE_TARGETS) package-oni-conf package-oni-css package-oni-elisp \
|
2019-08-28 08:53:06 +02:00
|
|
|
package-oni-haml package-oni-html package-oni-nxml package-oni-org \
|
2019-08-28 09:11:08 +02:00
|
|
|
package-oni-php package-oni-python package-oni-ruby package-oni-twig
|
2019-03-28 08:53:55 +01:00
|
|
|
|
|
|
|
package-%: %
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--eval '(package-upload-file "$^")'
|
|
|
|
|
2019-08-20 09:21:12 +02:00
|
|
|
package-oni-conf:
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
2019-08-24 07:59:55 +02:00
|
|
|
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-conf/dist/*.tar\") #'string>)))"
|
2019-08-20 09:21:12 +02:00
|
|
|
|
2019-08-24 08:39:07 +02:00
|
|
|
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>)))"
|
|
|
|
|
2019-08-25 22:37:25 +02:00
|
|
|
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>)))"
|
|
|
|
|
2019-08-28 08:09:07 +02:00
|
|
|
package-oni-haml:
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-haml/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 08:25:50 +02:00
|
|
|
package-oni-html:
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-html/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 08:34:58 +02:00
|
|
|
package-oni-nxml:
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-nxml/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 08:43:04 +02:00
|
|
|
package-oni-org:
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-org/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 08:53:06 +02:00
|
|
|
package-oni-php:
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-php/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 09:06:55 +02:00
|
|
|
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>)))"
|
|
|
|
|
2019-08-28 09:09:30 +02:00
|
|
|
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>)))"
|
|
|
|
|
2019-08-28 09:11:08 +02:00
|
|
|
package-oni-twig:
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--eval "(package-upload-file (car (sort (file-expand-wildcards \"oni-twig/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-23 08:47:45 +02:00
|
|
|
install-%:
|
2019-03-28 08:53:55 +01:00
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--eval '(package-refresh-contents)' \
|
2019-03-29 04:19:07 +01:00
|
|
|
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
|
2019-08-25 22:37:25 +02:00
|
|
|
--eval "(package-install-file \"$*.el\")"
|
2019-08-23 08:47:45 +02:00
|
|
|
|
2019-08-24 08:00:14 +02:00
|
|
|
install-oni-conf:
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--eval '(package-refresh-contents)' \
|
|
|
|
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
|
2019-08-25 22:37:25 +02:00
|
|
|
--eval "(package-install-file (car (sort (file-expand-wildcards \"oni-conf/dist/*.tar\") #'string>)))"
|
2019-08-24 08:00:14 +02:00
|
|
|
|
2019-08-24 08:39:07 +02:00
|
|
|
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\")") \
|
2019-08-25 22:37:25 +02:00
|
|
|
--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>)))"
|
2019-08-24 08:39:07 +02:00
|
|
|
|
2019-08-28 08:09:07 +02:00
|
|
|
install-oni-haml:
|
|
|
|
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-haml/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 08:25:50 +02:00
|
|
|
install-oni-html:
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
2019-08-28 17:32:48 +02:00
|
|
|
--funcall package-initialize \
|
2019-08-28 08:25:50 +02:00
|
|
|
--eval '(package-refresh-contents)' \
|
|
|
|
$(foreach DEP,$(DEPS),--eval "(package-install-file \"$(DEP).el\")") \
|
|
|
|
--eval "(package-install-file (car (sort (file-expand-wildcards \"oni-html/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 08:34:58 +02:00
|
|
|
install-oni-nxml:
|
|
|
|
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-nxml/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 08:43:04 +02:00
|
|
|
install-oni-org:
|
|
|
|
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-org/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 08:53:06 +02:00
|
|
|
install-oni-php:
|
|
|
|
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-php/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-28 09:06:55 +02:00
|
|
|
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>)))"
|
|
|
|
|
2019-08-28 09:09:30 +02:00
|
|
|
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>)))"
|
|
|
|
|
2019-08-28 09:11:08 +02:00
|
|
|
install-oni-twig:
|
|
|
|
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-twig/dist/*.tar\") #'string>)))"
|
|
|
|
|
2019-08-23 08:47:45 +02:00
|
|
|
test-%: install-%
|
|
|
|
emacs --batch \
|
|
|
|
--load oni-package.el \
|
|
|
|
--funcall package-initialize \
|
|
|
|
--load ert \
|
|
|
|
--load "test/$*-test.el" \
|
|
|
|
--eval "(setq ert-batch-backtrace-right-margin nil)" \
|
2019-03-28 08:53:55 +01:00
|
|
|
--funcall ert-run-tests-batch-and-exit
|
|
|
|
|
2019-08-24 07:10:47 +02:00
|
|
|
test-oni-bookmark: DEPS := oni-data-dir
|
2019-08-24 08:00:43 +02:00
|
|
|
test-oni-conf: DEPS := oni-yasnippet
|
2019-08-24 08:39:07 +02:00
|
|
|
test-oni-css: DEPS := oni-company oni-fci
|
|
|
|
test-oni-php: DEPS := oni-flycheck oni-company oni-fci
|
2019-08-25 22:37:25 +02:00
|
|
|
test-oni-elisp: DEPS := oni-company oni-flycheck oni-paredit oni-fci \
|
|
|
|
oni-yasnippet
|
2019-08-24 07:10:47 +02:00
|
|
|
|
2019-03-28 08:53:55 +01:00
|
|
|
clean:
|
|
|
|
rm -fv $(FILES)
|