summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-08-13 19:03:35 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-08-13 19:03:35 +0800
commitb1d516e2b7df2d881c4dc84840e1cdc475b845b5 (patch)
treedd386eea5ac68ebac3b4a8bfa22201f0f428c119
parentca17c15784f2aaa7b43fd82fb3e70a219680cbaa (diff)
downloadcask-b1d516e2b7df2d881c4dc84840e1cdc475b845b5.tar.gz
cask-b1d516e2b7df2d881c4dc84840e1cdc475b845b5.tar.bz2
cask-b1d516e2b7df2d881c4dc84840e1cdc475b845b5.zip
0.0.90.0.9
-rw-r--r--build.sc7
-rw-r--r--example/compress/build.sc2
-rw-r--r--example/compress2/build.sc2
-rw-r--r--example/compress3/build.sc2
-rw-r--r--example/cookies/build.sc2
-rw-r--r--example/decorated/build.sc2
-rw-r--r--example/decorated2/build.sc2
-rw-r--r--example/endpoints/build.sc2
-rw-r--r--example/formJsonPost/build.sc2
-rw-r--r--example/httpMethods/build.sc2
-rw-r--r--example/minimalApplication/build.sc2
-rw-r--r--example/minimalApplication2/build.sc2
-rw-r--r--example/redirectAbort/build.sc2
-rw-r--r--example/scalatags/build.sc2
-rw-r--r--example/staticFiles/build.sc2
-rw-r--r--example/todo/build.sc2
-rw-r--r--example/todoApi/build.sc2
-rw-r--r--example/todoDb/build.sc2
-rw-r--r--example/variableRoutes/build.sc2
-rw-r--r--example/websockets/build.sc2
20 files changed, 23 insertions, 22 deletions
diff --git a/build.sc b/build.sc
index bba7440..b542ad3 100644
--- a/build.sc
+++ b/build.sc
@@ -58,7 +58,7 @@ object cask extends ScalaModule with PublishModule {
}
object example extends Module{
trait LocalModule extends ScalaModule{
- def ivyDeps = super.ivyDeps().filter(_ != ivy"com.lihaoyi::cask:0.0.8")
+ def ivyDeps = super.ivyDeps().filter(_ != ivy"com.lihaoyi::cask:0.0.9")
override def millSourcePath = super.millSourcePath / "app"
def moduleDeps = Seq(cask)
@@ -126,7 +126,7 @@ def uploadToGithub(authKey: String) = T.command{
$file.example.websockets.build.millSourcePath,
)
for(example <- examples){
- val f = tmp.dir()
+ val f = T.ctx().dest
val last = example.last + "-" + label
cp(example, f/last)
write.over(
@@ -149,7 +149,8 @@ def uploadToGithub(authKey: String) = T.command{
read(f/last/"build.sc").replace("trait AppModule ", "object app ")
)
- %%("zip", "-r", f/"out.zip", f/last)(f)
+ rm(f/"out.zip")
+ %%("zip", "-r", f/"out.zip", last)(f)
upload.apply(f/"out.zip", releaseTag, last + ".zip", authKey)
}
}
diff --git a/example/compress/build.sc b/example/compress/build.sc
index 415ad8f..0e803b8 100644
--- a/example/compress/build.sc
+++ b/example/compress/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/compress2/build.sc b/example/compress2/build.sc
index 415ad8f..0e803b8 100644
--- a/example/compress2/build.sc
+++ b/example/compress2/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/compress3/build.sc b/example/compress3/build.sc
index 415ad8f..0e803b8 100644
--- a/example/compress3/build.sc
+++ b/example/compress3/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/cookies/build.sc b/example/cookies/build.sc
index 415ad8f..0e803b8 100644
--- a/example/cookies/build.sc
+++ b/example/cookies/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/decorated/build.sc b/example/decorated/build.sc
index 415ad8f..0e803b8 100644
--- a/example/decorated/build.sc
+++ b/example/decorated/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/decorated2/build.sc b/example/decorated2/build.sc
index 415ad8f..0e803b8 100644
--- a/example/decorated2/build.sc
+++ b/example/decorated2/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/endpoints/build.sc b/example/endpoints/build.sc
index 415ad8f..0e803b8 100644
--- a/example/endpoints/build.sc
+++ b/example/endpoints/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/formJsonPost/build.sc b/example/formJsonPost/build.sc
index 415ad8f..0e803b8 100644
--- a/example/formJsonPost/build.sc
+++ b/example/formJsonPost/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/httpMethods/build.sc b/example/httpMethods/build.sc
index 415ad8f..0e803b8 100644
--- a/example/httpMethods/build.sc
+++ b/example/httpMethods/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/minimalApplication/build.sc b/example/minimalApplication/build.sc
index 415ad8f..0e803b8 100644
--- a/example/minimalApplication/build.sc
+++ b/example/minimalApplication/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/minimalApplication2/build.sc b/example/minimalApplication2/build.sc
index 415ad8f..0e803b8 100644
--- a/example/minimalApplication2/build.sc
+++ b/example/minimalApplication2/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/redirectAbort/build.sc b/example/redirectAbort/build.sc
index 415ad8f..0e803b8 100644
--- a/example/redirectAbort/build.sc
+++ b/example/redirectAbort/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/scalatags/build.sc b/example/scalatags/build.sc
index aab253d..31bf5f6 100644
--- a/example/scalatags/build.sc
+++ b/example/scalatags/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
ivy"com.lihaoyi::scalatags:0.6.7",
)
diff --git a/example/staticFiles/build.sc b/example/staticFiles/build.sc
index 415ad8f..0e803b8 100644
--- a/example/staticFiles/build.sc
+++ b/example/staticFiles/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/todo/build.sc b/example/todo/build.sc
index d9ee8bc..c8cbe8e 100644
--- a/example/todo/build.sc
+++ b/example/todo/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
ivy"org.xerial:sqlite-jdbc:3.18.0",
ivy"io.getquill::quill-jdbc:2.5.4",
ivy"com.lihaoyi::scalatags:0.6.7",
diff --git a/example/todoApi/build.sc b/example/todoApi/build.sc
index 415ad8f..0e803b8 100644
--- a/example/todoApi/build.sc
+++ b/example/todoApi/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/todoDb/build.sc b/example/todoDb/build.sc
index 9925f73..55e7b40 100644
--- a/example/todoDb/build.sc
+++ b/example/todoDb/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
ivy"org.xerial:sqlite-jdbc:3.18.0",
ivy"io.getquill::quill-jdbc:2.5.4"
)
diff --git a/example/variableRoutes/build.sc b/example/variableRoutes/build.sc
index 415ad8f..0e803b8 100644
--- a/example/variableRoutes/build.sc
+++ b/example/variableRoutes/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{
diff --git a/example/websockets/build.sc b/example/websockets/build.sc
index 10da3be..561c652 100644
--- a/example/websockets/build.sc
+++ b/example/websockets/build.sc
@@ -4,7 +4,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
def scalaVersion = "2.12.6"
def ivyDeps = Agg(
- ivy"com.lihaoyi::cask:0.0.8",
+ ivy"com.lihaoyi::cask:0.0.9",
)
object test extends Tests{