diff --git a/scala/.gitignore b/scala/.gitignore index c56b917b..ec0b3283 100644 --- a/scala/.gitignore +++ b/scala/.gitignore @@ -1,4 +1,5 @@ /bin/ +lib/ # OSX Finder .DS_Store @@ -8,8 +9,6 @@ *.iml .bsp .bloop -.bsp -.bloop #vscode .vscode @@ -19,13 +18,6 @@ metals.sbt -#vscode -.vscode -.metals -.scala-build -project/metals.sbt - - # Eclipse .worksheet diff --git a/scala/src/test/scala/com/gildedrose/TexttestFixture.scala b/scala/src/test/scala/com/gildedrose/TexttestFixture.scala index c941be1f..4e6fc7f4 100644 --- a/scala/src/test/scala/com/gildedrose/TexttestFixture.scala +++ b/scala/src/test/scala/com/gildedrose/TexttestFixture.scala @@ -5,10 +5,10 @@ object TexttestFixture { System.out.println("OMGHAI!") val items = Array[Item]( - Item("+5 Dexterity Vest", 10, 20), // - Item("Aged Brie", 2, 0), // - Item("Elixir of the Mongoose", 5, 7), // - Item("Sulfuras, Hand of Ragnaros", 0, 80), // + Item("+5 Dexterity Vest", 10, 20), + Item("Aged Brie", 2, 0), + Item("Elixir of the Mongoose", 5, 7), + Item("Sulfuras, Hand of Ragnaros", 0, 80), Item("Sulfuras, Hand of Ragnaros", -1, 80), Item("Backstage passes to a TAFKAL80ETC concert", 15, 20), Item("Backstage passes to a TAFKAL80ETC concert", 10, 49), diff --git a/scala/texttest_rig.py b/scala/texttest_rig.py index 23bd74f7..c4302638 100644 --- a/scala/texttest_rig.py +++ b/scala/texttest_rig.py @@ -11,4 +11,4 @@ import sys args = " ".join(sys.argv[1:]) TEXTTEST_HOME = os.environ.get("TEXTTEST_HOME", os.getcwd()) -subprocess.run(f"""(cd {TEXTTEST_HOME}/scala/; sbt "Test / runMain com.gildedrose.TexttestFixture {args}") """, shell=True) +subprocess.run(f"""(cd {TEXTTEST_HOME}/scala/; sbt -warn "Test / runMain com.gildedrose.TexttestFixture {args}") """, shell=True)