summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-12-27 21:41:36 +0100
committerGravatar Tom Willemse2014-12-27 21:41:36 +0100
commitb3c89eda7c0b60930c5bd9b276b0e49d9573135c (patch)
treef57fb16991f066f6f1a5b3f023cce881f4014eb5
parent11847108373226c64afc255cc812f7a5388e4226 (diff)
downloadorgweb-b3c89eda7c0b60930c5bd9b276b0e49d9573135c.tar.gz
orgweb-b3c89eda7c0b60930c5bd9b276b0e49d9573135c.zip
Use cask to manage/load dependencies
-rw-r--r--Cask6
-rw-r--r--Makefile6
-rw-r--r--articles/Cask6
-rw-r--r--articles/Makefile5
4 files changed, 15 insertions, 8 deletions
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