summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-08-12 23:29:31 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-08-12 23:29:31 +0800
commita7cec9465105a8b983bac7ac721827f578f35166 (patch)
tree17da60565b02a51152862827136c5eb29087f2fd /example
parent11f8fa2faaef68684a91716f6331a4e6e1463b3b (diff)
downloadcask-a7cec9465105a8b983bac7ac721827f578f35166.tar.gz
cask-a7cec9465105a8b983bac7ac721827f578f35166.tar.bz2
cask-a7cec9465105a8b983bac7ac721827f578f35166.zip
tweak docgen
Diffstat (limited to 'example')
-rw-r--r--example/todo/app/src/TodoServer.scala (renamed from example/todo/app/src/todo/TodoServer.scala)1
-rw-r--r--example/todo/app/test/src/TodoTest.scala (renamed from example/todo/app/test/src/todo/TodoTest.scala)0
2 files changed, 1 insertions, 0 deletions
diff --git a/example/todo/app/src/todo/TodoServer.scala b/example/todo/app/src/TodoServer.scala
index 6ae7ee9..bfe4ea0 100644
--- a/example/todo/app/src/todo/TodoServer.scala
+++ b/example/todo/app/src/TodoServer.scala
@@ -4,6 +4,7 @@ import com.typesafe.config.ConfigFactory
import io.getquill.{SnakeCase, SqliteJdbcContext}
import scalatags.Text.all._
import scalatags.Text.tags2
+
object TodoServer extends cask.MainRoutes{
val tmpDb = java.nio.file.Files.createTempDirectory("todo-cask-sqlite")
diff --git a/example/todo/app/test/src/todo/TodoTest.scala b/example/todo/app/test/src/TodoTest.scala
index 8f38612..8f38612 100644
--- a/example/todo/app/test/src/todo/TodoTest.scala
+++ b/example/todo/app/test/src/TodoTest.scala