Use cask to manage/load dependencies
This commit is contained in:
parent
1184710837
commit
b3c89eda7c
4 changed files with 15 additions and 8 deletions
6
Cask
Normal file
6
Cask
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
(source gnu)
|
||||||
|
(source melpa)
|
||||||
|
(source org)
|
||||||
|
|
||||||
|
(depends-on "org-plus-contrib")
|
||||||
|
(depends-on "htmlize")
|
6
Makefile
6
Makefile
|
@ -6,10 +6,8 @@ clean:
|
||||||
|
|
||||||
export: clean
|
export: clean
|
||||||
$(MAKE) -C articles export
|
$(MAKE) -C articles export
|
||||||
emacs -L $(CURDIR) -L ~/.emacs.d/vendor-lisp/org/lisp \
|
cask exec emacs -L $(CURDIR) -batch -l project.el -f org-publish-all
|
||||||
-L ~/.emacs.d/vendor-lisp/org/contrib/lisp -batch -l project.el \
|
|
||||||
-f org-publish-all
|
|
||||||
|
|
||||||
publish: export
|
publish:
|
||||||
rsync -avuz --exclude=*~ --exclude=dotfiles/ --delete _publish/ \
|
rsync -avuz --exclude=*~ --exclude=dotfiles/ --delete _publish/ \
|
||||||
ryuslash.org:public_html/orgweb
|
ryuslash.org:public_html/orgweb
|
||||||
|
|
6
articles/Cask
Normal file
6
articles/Cask
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
(source gnu)
|
||||||
|
(source melpa)
|
||||||
|
(source org)
|
||||||
|
|
||||||
|
(depends-on "org-plus-contrib")
|
||||||
|
(depends-on "htmlize")
|
|
@ -1,7 +1,4 @@
|
||||||
all:
|
all:
|
||||||
|
|
||||||
export:
|
export:
|
||||||
emacs -L $(CURDIR) -L ~/.emacs.d/vendor-lisp/org/lisp \
|
cask exec emacs -L $(CURDIR) -batch -l project.el -f org-publish-all
|
||||||
-L ~/.emacs.d/vendor-lisp/org/contrib/lisp -batch -l project.el \
|
|
||||||
-eval "(progn (require 'package) (package-initialize))" \
|
|
||||||
-f org-publish-all
|
|
||||||
|
|
Loading…
Reference in a new issue