aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-04-02 15:08:27 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-04-02 15:11:10 -0400
commitd7d924c50758aa190762672723d2b708b18911ba (patch)
tree009c1762f99586936870e306d584af253498d422 /examples
parenta40300405524c0b4f8bf5959ec06e3fe1e93837f (diff)
downloadcbt-d7d924c50758aa190762672723d2b708b18911ba.tar.gz
cbt-d7d924c50758aa190762672723d2b708b18911ba.tar.bz2
cbt-d7d924c50758aa190762672723d2b708b18911ba.zip
Add Tut plugin
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
+```
+