Skip to content

Commit

Permalink
Build with sample deck
Browse files Browse the repository at this point in the history
  • Loading branch information
vaslabs committed Apr 14, 2020
1 parent 533e6df commit 05f4390
Show file tree
Hide file tree
Showing 43 changed files with 60 additions and 2 deletions.
9 changes: 9 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ lazy val service = (project in file("service"))
.settings(libraryDependencies ++= Dependencies.Modules.service)
.enablePlugins(DockerPlugin, JavaAppPackaging, AshScriptPlugin)
.settings(dockerSettings)
.settings(packageSettings)
.settings(versioningSettings)
.settings(compilerSettings)
.dependsOn(endpoints, processor, engine)
Expand All @@ -49,6 +50,14 @@ lazy val dockerSettings = Seq(
dockerUsername := Some("vaslabs"),
dockerExposedPorts := List(8080)
)
import NativePackagerHelper._

lazy val packageSettings = Seq(
mappings in Universal ++= directory("sample_decks") :+ file("sample_decks") -> "decks",
maintainer := "vaslabsco@gmail.com"
)



lazy val noPublishSettings = Seq(
publish / skip := true
Expand Down
3 changes: 1 addition & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.6.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.7.0")
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.0.0")
addSbtPlugin("org.vaslabs.kube" % "sbt-kubeyml" % "0.3.4")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions sample_decks/03aa8889-f20e-48a9-bd56-50869db2feca/deck.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"cards": {
"b0": 2,
"b1": 2,
"b2": 2,
"b3": 2,
"b4": 2,
"b5": 2,
"b6": 2,
"b7": 2,
"b8": 2,
"b9": 2,
"g0": 2,
"g10": 2,
"g1": 2,
"g2": 2,
"g3": 2,
"g4": 2,
"g5": 2,
"g6": 2,
"g7": 2,
"g8": 2,
"g9": 2,
"r0": 2,
"r1": 2,
"r2": 2,
"r3": 2,
"r4": 2,
"r5": 2,
"r6": 2,
"r7": 2,
"r8": 2,
"r9": 2,
"y0": 2,
"y1": 2,
"y2": 2,
"y3": 2,
"y4": 2,
"y5": 2,
"y6": 2,
"y7": 2,
"y8": 2,
"y9": 2
},
"startingRules": {
"exactlyOne": [],
"no": [],
"hand": 5
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 05f4390

Please sign in to comment.