Skip to content

Commit 4b74ec4

Browse files
committed
Reproduce error: test stdlib without SBT
1 parent 7735c04 commit 4b74ec4

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

project/scripts/bootstrapCmdTests

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ test "$EXPECTED_OUTPUT" = "$(cat "$tmp")"
4141
echo "testing ./bin/dotd"
4242
clear_out "$OUT"
4343
./bin/dotd -project Hello -siteroot "$OUT" "$SOURCE"
44+
45+
# compile stdlib
46+
./project/scripts/stdlib213

project/scripts/stdlib213

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
pattern="! -name AnyVal.scala ! -name language.scala ! -name JFunction*.scala -name *.scala -o -name *.java"
6+
stdlib213=$(find community-build/community-projects/stdLib213/src/library/scala $pattern | tr '\n' ' ')
7+
pattern="-name *.scala -o -name *.java"
8+
dottyLib=$(find library/src/scala $pattern | tr '\n' ' ')
9+
echo $stdlib213 $dottylib
10+
./bin/dotc -language:implicitConversions "$stdlib213 $dottylib"

0 commit comments

Comments
 (0)