suppressed sbt specific output

This commit is contained in:
Ralf Comtesse 2025-10-06 15:50:16 +02:00
parent e8a80b8034
commit e838a75365
3 changed files with 6 additions and 14 deletions

10
scala/.gitignore vendored
View File

@ -1,4 +1,5 @@
/bin/ /bin/
lib/
# OSX Finder # OSX Finder
.DS_Store .DS_Store
@ -8,8 +9,6 @@
*.iml *.iml
.bsp .bsp
.bloop .bloop
.bsp
.bloop
#vscode #vscode
.vscode .vscode
@ -19,13 +18,6 @@ metals.sbt
#vscode
.vscode
.metals
.scala-build
project/metals.sbt
# Eclipse # Eclipse
.worksheet .worksheet

View File

@ -5,10 +5,10 @@ object TexttestFixture {
System.out.println("OMGHAI!") System.out.println("OMGHAI!")
val items = Array[Item]( val items = Array[Item](
Item("+5 Dexterity Vest", 10, 20), // Item("+5 Dexterity Vest", 10, 20),
Item("Aged Brie", 2, 0), // Item("Aged Brie", 2, 0),
Item("Elixir of the Mongoose", 5, 7), // Item("Elixir of the Mongoose", 5, 7),
Item("Sulfuras, Hand of Ragnaros", 0, 80), // Item("Sulfuras, Hand of Ragnaros", 0, 80),
Item("Sulfuras, Hand of Ragnaros", -1, 80), Item("Sulfuras, Hand of Ragnaros", -1, 80),
Item("Backstage passes to a TAFKAL80ETC concert", 15, 20), Item("Backstage passes to a TAFKAL80ETC concert", 15, 20),
Item("Backstage passes to a TAFKAL80ETC concert", 10, 49), Item("Backstage passes to a TAFKAL80ETC concert", 10, 49),

View File

@ -11,4 +11,4 @@ import sys
args = " ".join(sys.argv[1:]) args = " ".join(sys.argv[1:])
TEXTTEST_HOME = os.environ.get("TEXTTEST_HOME", os.getcwd()) 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)