-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scala 3.5.0 + Reworking the sandbox build
- Loading branch information
1 parent
a2cc972
commit 34ff7ea
Showing
70 changed files
with
880 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ metals.sbt | |
.bsp/ | ||
.ammonite | ||
.coursier | ||
*.semanticdb | ||
|
||
# Direnv | ||
.direnv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ rules = [ | |
|
||
OrganizeImports { | ||
removeUnused = false | ||
targetDialect = Scala3 | ||
} | ||
|
||
DisableSyntax { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version = 3.3.0 | ||
version = 3.8.3 | ||
runner.dialect = scala3 | ||
style = defaultWithAlign | ||
maxColumn = 120 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"devDependencies": { | ||
"electron": "^32.1.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
addSbtPlugin("org.scala-js" %% "sbt-scalajs" % "1.16.0") | ||
addSbtPlugin("io.indigoengine" %% "sbt-indigo" % "0.16.0") | ||
addSbtPlugin("org.xerial.sbt" %% "sbt-sonatype" % "3.9.7") | ||
addSbtPlugin("com.jsuereth" %% "sbt-pgp" % "2.0.1") | ||
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.0") | ||
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.31") | ||
addSbtPlugin("com.github.reibitto" % "sbt-welcome" % "0.3.1") | ||
addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.2") | ||
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.1") | ||
addSbtPlugin("com.github.reibitto" % "sbt-welcome" % "0.4.0") | ||
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.1.0") | ||
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
rules = [ | ||
DisableSyntax, | ||
OrganizeImports | ||
] | ||
|
||
OrganizeImports { | ||
removeUnused = false | ||
targetDialect = Scala3 | ||
} | ||
|
||
DisableSyntax { | ||
noVars = true | ||
noThrows = true | ||
noNulls = true | ||
noReturns = true | ||
noWhileLoops = true | ||
noAsInstanceOf = false # Doesn't seem to work correctly | ||
noIsInstanceOf = false # Doesn't seem to work correctly | ||
noXml = true | ||
noDefaultArgs = true | ||
noFinalVal = true | ||
noFinalize = true | ||
noValPatterns = true | ||
# noUniversalEquality = false # handled by scala 3 | ||
# noUniversalEqualityMessage = "== and != are unsafe since they allow comparing two unrelated types" | ||
# regex = [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version = 3.7.17 | ||
runner.dialect = scala3 | ||
style = defaultWithAlign | ||
maxColumn = 80 | ||
rewrite.rules = [RedundantBraces,RedundantParens,PreferCurlyFors] | ||
danglingParentheses.preset = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# UV Sandbox | ||
|
||
## Getting started with sbt | ||
|
||
Type `sbt` into you command line to enter the sbt console. There you will be presented with a welcome screen a list of useful commands. | ||
|
||
You can also use `sbt runGame`, to compile and run the game immediately. |
Oops, something went wrong.