Permalink
Browse files

35 - Compact, Streaming Pretty-Printing of Hierarchical Data.md

  • Loading branch information...
lihaoyi committed Dec 29, 2018
1 parent 3e53e9b commit 8c06e95f6427a4404f79105e6e44e4c692b5dfaa
Showing with 683 additions and 0 deletions.
  1. +2 −0 build.sc
  2. +681 −0 post/35 - Compact, Streaming Pretty-Printing of Hierarchical Data.md
@@ -203,6 +203,7 @@ def main(publish: Boolean = false) = {

rm! targetFolder

mkdir(targetFolder)
write(
targetFolder/s"index.html",
mainContent(posts.map(p => (p.name, p.rawHtmlSnippet, p.updates.lastOption)))
@@ -236,6 +237,7 @@ def main(publish: Boolean = false) = {
write(targetFolder/"feed.xml", rssXml)
if (publish){
implicit val wd = pwd/'target
mkdir(wd)
write(wd/'CNAME, "www.lihaoyi.com")
%git 'init
%git('add, "-A", ".")
Oops, something went wrong.

0 comments on commit 8c06e95

Please sign in to comment.