-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
29 lines (28 loc) · 1.05 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
lazy val bassinvader =
(project in file("."))
.enablePlugins(ScalaJSPlugin, SbtIndigo)
.settings( // Normal SBT settings
name := "bassinvader",
version := "0.0.1",
scalaVersion := "2.13.3",
organization := "bassinvader",
libraryDependencies ++= Seq(
"com.lihaoyi" %%% "utest" % "0.7.4" % "test",
"org.scalacheck" %%% "scalacheck" % "1.14.3" % "test"
),
testFrameworks += new TestFramework("utest.runner.Framework")
)
.settings( // Indigo specific settings
showCursor := true,
title := "Bass Invader - Made with Indigo",
gameAssetsDirectory := "assets",
windowStartWidth := 1200,
windowStartHeight := 800,
libraryDependencies ++= Seq(
"io.indigoengine" %%% "indigo-json-circe" % "0.3.0",
"io.indigoengine" %%% "indigo" % "0.3.0",
"io.indigoengine" %%% "indigo-extras" % "0.3.0"
)
)
addCommandAlias("buildGame", ";compile;fastOptJS;indigoBuild")
addCommandAlias("runGame", ";compile;fastOptJS;indigoRun")