Browse files

doc generation to script

  • Loading branch information...
1 parent 196dc83 commit fb64f3044dd28581d7154692f6f69e15160c7707 @logaan committed Sep 22, 2013
Showing with 10 additions and 8 deletions.
  1. +0 −8 Makefile
  2. +10 −0 script/docs
View
8 Makefile
@@ -1,8 +0,0 @@
-doc:
- lein with-profile doc doc
- # cp ./docs/uberdoc.html /tmp/uberdoc.html
- # git checkout gh-pages
- # cp /tmp/uberdoc.html ./index.html
- # git commit -avm "updated docs"
- # git push origin gh-pages
- # git checkout master
View
10 script/docs
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+lein with-profile doc doc
+
+cd ~/hacking/jekyll/logaan.github.io/ && \
+rm -r vlad && \
+cp -R ~/hacking/clojure/vlad/doc vlad && \
+git add . && \
+git commit -avm "updated vlad docs" && \
+git push origin master

0 comments on commit fb64f30

Please sign in to comment.