Use cask to manage/load dependencies

This commit is contained in:
Tom Willemse 2014-12-27 21:41:36 +01:00
parent 1184710837
commit b3c89eda7c
4 changed files with 15 additions and 8 deletions

6
Cask Normal file
View file

@ -0,0 +1,6 @@
(source gnu)
(source melpa)
(source org)
(depends-on "org-plus-contrib")
(depends-on "htmlize")

View file

@ -6,10 +6,8 @@ clean:
export: clean
$(MAKE) -C articles export
emacs -L $(CURDIR) -L ~/.emacs.d/vendor-lisp/org/lisp \
-L ~/.emacs.d/vendor-lisp/org/contrib/lisp -batch -l project.el \
-f org-publish-all
cask exec emacs -L $(CURDIR) -batch -l project.el -f org-publish-all
publish: export
publish:
rsync -avuz --exclude=*~ --exclude=dotfiles/ --delete _publish/ \
ryuslash.org:public_html/orgweb

6
articles/Cask Normal file
View file

@ -0,0 +1,6 @@
(source gnu)
(source melpa)
(source org)
(depends-on "org-plus-contrib")
(depends-on "htmlize")

View file

@ -1,7 +1,4 @@
all:
export:
emacs -L $(CURDIR) -L ~/.emacs.d/vendor-lisp/org/lisp \
-L ~/.emacs.d/vendor-lisp/org/contrib/lisp -batch -l project.el \
-eval "(progn (require 'package) (package-initialize))" \
-f org-publish-all
cask exec emacs -L $(CURDIR) -batch -l project.el -f org-publish-all