[Swift-commit] r6754 - SwiftTutorials/ATPESC_2013-08-06
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Mon Aug 5 13:05:41 CDT 2013
Author: wozniak
Date: 2013-08-05 13:05:41 -0500 (Mon, 05 Aug 2013)
New Revision: 6754
Modified:
SwiftTutorials/ATPESC_2013-08-06/build_docs.sh
Log:
Add run script snippet
Modified: SwiftTutorials/ATPESC_2013-08-06/build_docs.sh
===================================================================
--- SwiftTutorials/ATPESC_2013-08-06/build_docs.sh 2013-08-05 18:05:21 UTC (rev 6753)
+++ SwiftTutorials/ATPESC_2013-08-06/build_docs.sh 2013-08-05 18:05:41 UTC (rev 6754)
@@ -1,4 +1,9 @@
-#!/bin/bash
+#!/bin/bash -e
+pushd part11-swift-py-r/code >& /dev/null
+# Strip comments, blank lines; prepend shell prompt ($)
+grep -v -e "^$\|#" run-dets.sh | sed 's/^/$ /' > run-dets.sh.txt
+popd >& /dev/null
+
~davidk/asciidoc-8.6.4/asciidoc -a toc -a toplevels=2 -a stylesheet=~davidk/swift-0.94/cog/modules/swift/docs/stylesheets/asciidoc.css -a max-width=800px -o tutorial.html README
More information about the Swift-commit
mailing list