aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2017-04-02 16:38:55 -0400
committerGitHub <noreply@github.com>2017-04-02 16:38:55 -0400
commit5cef25999cd7cbad61562e9faa166e0995beed47 (patch)
tree009c1762f99586936870e306d584af253498d422 /examples
parenta40300405524c0b4f8bf5959ec06e3fe1e93837f (diff)
parentd7d924c50758aa190762672723d2b708b18911ba (diff)
downloadcbt-5cef25999cd7cbad61562e9faa166e0995beed47.tar.gz
cbt-5cef25999cd7cbad61562e9faa166e0995beed47.tar.bz2
cbt-5cef25999cd7cbad61562e9faa166e0995beed47.zip
Merge pull request #96 from cvogt/tut
Scaffold to start integrating tut.
Diffstat (limited to 'examples')
-rw-r--r--examples/tut/Readme.md1
-rw-r--r--examples/tut/build/build.scala3
-rw-r--r--examples/tut/tut/example.md7
3 files changed, 11 insertions, 0 deletions
diff --git a/examples/tut/Readme.md b/examples/tut/Readme.md
new file mode 100644
index 0000000..27568f0
--- /dev/null
+++ b/examples/tut/Readme.md
@@ -0,0 +1 @@
+Tut files need to be in tut/. Generated files go to target/tut/. \ No newline at end of file
diff --git a/examples/tut/build/build.scala b/examples/tut/build/build.scala
new file mode 100644
index 0000000..b9d00c2
--- /dev/null
+++ b/examples/tut/build/build.scala
@@ -0,0 +1,3 @@
+package tut_build
+import cbt._
+class Build(val context: Context) extends Tut
diff --git a/examples/tut/tut/example.md b/examples/tut/tut/example.md
new file mode 100644
index 0000000..55fa85b
--- /dev/null
+++ b/examples/tut/tut/example.md
@@ -0,0 +1,7 @@
+
+This is a tut doc.
+
+```tut
+1 + 1
+```
+