summaryrefslogtreecommitdiff
path: root/example/todo/app
diff options
context:
space:
mode:
Diffstat (limited to 'example/todo/app')
-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