-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Abhijit Sarkar
committed
Dec 24, 2024
1 parent
9092a6d
commit 2b96bae
Showing
105 changed files
with
317 additions
and
68 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
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,33 +1,31 @@ | ||
# macOS | ||
.DS_Store | ||
*.class | ||
*.log | ||
*~ | ||
|
||
# sbt | ||
# idea | ||
.idea | ||
.idea_modules | ||
/.worksheet/ | ||
|
||
# mill | ||
out/ | ||
|
||
.bsp/ | ||
.metals/ | ||
.vscode/ | ||
.bloop/ | ||
|
||
# SBT | ||
dist/* | ||
target/ | ||
lib_managed/ | ||
src_managed/ | ||
project/boot/ | ||
project/project | ||
project/plugins/project/ | ||
project/local-plugins.sbt | ||
.history | ||
.ensime | ||
.ensime_cache/ | ||
.sbt-scripted/ | ||
local.sbt | ||
.cache | ||
.lib/ | ||
|
||
# Bloop | ||
.bsp | ||
|
||
# VS Code | ||
.vscode/ | ||
|
||
# Metals | ||
.bloop/ | ||
.metals/ | ||
metals.sbt | ||
|
||
# IDEA | ||
.idea | ||
.idea_modules | ||
/.worksheet/ | ||
# virtual machine crash logs | ||
hs_err_pid* |
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 @@ | ||
0.12.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version = "3.7.17" | ||
version = "3.8.3" | ||
align.preset = more | ||
maxColumn = 120 | ||
runner.dialect = scala3 | ||
|
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,35 @@ | ||
package build | ||
|
||
import mill._, scalalib._, scalafmt._ | ||
import $packages._ | ||
import $file.{versions => v} | ||
|
||
val moduleNames = interp.watchValue(os.list(millSourcePath / "problems").map(_.last)) | ||
|
||
object problems extends Cross[NineNineModule](moduleNames) | ||
|
||
trait NineNineModule extends ScalaModule with Cross.Module[String] with ScalafmtModule { | ||
|
||
val scalaVersion = v.scalaVersion | ||
def millSourcePath = super.millSourcePath / crossValue | ||
|
||
def scalacOptions: T[Seq[String]] = Seq( | ||
"-encoding", "UTF-8", | ||
"-feature", | ||
"-Werror", | ||
"-explain", | ||
"-deprecation", | ||
"-unchecked", | ||
"-Wunused:all", | ||
"-rewrite", | ||
"-indent", | ||
"-source", "future", | ||
) | ||
|
||
object test extends ScalaTests with TestModule.Munit { | ||
def ivyDeps = Agg( | ||
ivy"org.scalameta::munit:${v.munitVersion}", | ||
ivy"org.scalameta::munit-scalacheck:${v.munitScalaCheckVersion}", | ||
) | ||
} | ||
} |
Oops, something went wrong.