summaryrefslogtreecommitdiff
path: root/example/endpoints/build.sc
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-08-13 01:12:07 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-08-13 01:12:07 +0800
commit974dcbe09830785f202f54959ae5397e9084f7a0 (patch)
treed127d2aff446b8c50debfae3823ebba7e2b457ea /example/endpoints/build.sc
parenteb32d8d4a1e2bd50e5416fcfefd72dfe6da1a7bb (diff)
downloadcask-974dcbe09830785f202f54959ae5397e9084f7a0.tar.gz
cask-974dcbe09830785f202f54959ae5397e9084f7a0.tar.bz2
cask-974dcbe09830785f202f54959ae5397e9084f7a0.zip
add docs on writing custom endpoints
Diffstat (limited to 'example/endpoints/build.sc')
-rw-r--r--example/endpoints/build.sc18
1 files changed, 18 insertions, 0 deletions
diff --git a/example/endpoints/build.sc b/example/endpoints/build.sc
new file mode 100644
index 0000000..2794393
--- /dev/null
+++ b/example/endpoints/build.sc
@@ -0,0 +1,18 @@
+import mill._, scalalib._
+
+
+trait AppModule extends ScalaModule{
+ def scalaVersion = "2.12.6"
+ def ivyDeps = Agg(
+ ivy"com.lihaoyi::cask:0.0.1",
+ )
+
+ object test extends Tests{
+ def testFrameworks = Seq("utest.runner.Framework")
+
+ def ivyDeps = Agg(
+ ivy"com.lihaoyi::utest::0.6.3",
+ ivy"com.lihaoyi::requests::0.1.2",
+ )
+ }
+} \ No newline at end of file