diff options
author | Tom Willemse | 2014-12-27 21:41:36 +0100 |
---|---|---|
committer | Tom Willemse | 2014-12-27 21:41:36 +0100 |
commit | b3c89eda7c0b60930c5bd9b276b0e49d9573135c (patch) | |
tree | f57fb16991f066f6f1a5b3f023cce881f4014eb5 | |
parent | 11847108373226c64afc255cc812f7a5388e4226 (diff) | |
download | orgweb-b3c89eda7c0b60930c5bd9b276b0e49d9573135c.tar.gz orgweb-b3c89eda7c0b60930c5bd9b276b0e49d9573135c.zip |
Use cask to manage/load dependencies
-rw-r--r-- | Cask | 6 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | articles/Cask | 6 | ||||
-rw-r--r-- | articles/Makefile | 5 |
4 files changed, 15 insertions, 8 deletions
@@ -0,0 +1,6 @@ +(source gnu) +(source melpa) +(source org) + +(depends-on "org-plus-contrib") +(depends-on "htmlize") @@ -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 |