Guest User

Untitled

a guest
Jul 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #!/usr/bin/env cake
  2.  
  3. (use 'clojure.java.shell '[clojure.string :only [join]] 'cake)
  4.  
  5. (def parent "/home/rayne/meet-clojure-pan")
  6.  
  7. (->> (java.io.File. parent ".") file-seq (map str)
  8. (filter #(.endsWith % ".markdown")) sort
  9. (apply sh "markdown2pdf" "-o" (str parent "/" (second (:run *opts*))) "--toc" "--xetex" "--template"
  10. (str parent "/mc.template"))
  11. :err println)
Add Comment
Please, Sign In to add comment