Closed
Description
I have been running the script below locally to verify that bootstrap using Tasty works. It first compiles everything, then compiles each subdirectory individually, using Tasty to access info from other directories. Getting this to work took a while, so it would be good to have a test that verifies we can still do this.
Can someone with more test-foo than I give it a stab? Here's the (tcsh) script I was using (run it from dotty/bin
):
# To run this script, make sure /classes is on the classpath!
rm -rf /classes/dotty
alias dc 'echo \!! ; java -Xms1g -Xmx3g dotty.tools.dotc.Main -d /classes \!*'
cd ../src/dotty/tools
pwd
echo "compile self"
dc *.scala */*.scala */*/*.scala */*/*/*.scala */*/*/*/*.scala */*/*/*/*/*.scala
dc *.scala
dc dotc/*.scala
dc dotc/ast/*.scala
dc dotc/config/*.scala
dc dotc/parsing/*.scala
dc dotc/printing/*.scala
dc dotc/repl/*.scala
dc dotc/reporting/*.scala
dc dotc/rewrite/*.scala
dc dotc/transform/*.scala
dc dotc/typer/*.scala
dc dotc/util/*.scala
Metadata
Metadata
Assignees
Labels
No labels