diff --git a/Cask b/Cask new file mode 100644 index 0000000..f2f688d --- /dev/null +++ b/Cask @@ -0,0 +1,6 @@ +(source gnu) +(source melpa) +(source org) + +(depends-on "org-plus-contrib") +(depends-on "htmlize") diff --git a/Makefile b/Makefile index edf17bf..9acf057 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/articles/Cask b/articles/Cask new file mode 100644 index 0000000..f2f688d --- /dev/null +++ b/articles/Cask @@ -0,0 +1,6 @@ +(source gnu) +(source melpa) +(source org) + +(depends-on "org-plus-contrib") +(depends-on "htmlize") diff --git a/articles/Makefile b/articles/Makefile index d55e03d..b1653ca 100644 --- a/articles/Makefile +++ b/articles/Makefile @@ -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