Skip to content

Commit

Permalink
0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Aug 13, 2018
1 parent ca17c15 commit b1d516e
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 22 deletions.
7 changes: 4 additions & 3 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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(
Expand All @@ -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)
}
}
Expand Down
2 changes: 1 addition & 1 deletion example/compress/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/compress2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/compress3/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/cookies/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/decorated/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/decorated2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/endpoints/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/formJsonPost/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/httpMethods/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/minimalApplication/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/minimalApplication2/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/redirectAbort/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/scalatags/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)

Expand Down
2 changes: 1 addition & 1 deletion example/staticFiles/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/todo/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion example/todoApi/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/todoDb/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion example/variableRoutes/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion example/websockets/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit b1d516e

Please sign in to comment.