Skip to content

Commit

Permalink
Ignore docs for now, fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
romanowski committed Feb 10, 2021
1 parent c664d34 commit 888ac94
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion community-build/community-projects/geny
Submodule geny updated 1 files
+8 −0 build.sc
2 changes: 1 addition & 1 deletion community-build/community-projects/upickle
Submodule upickle updated 1 files
+9 −0 build.sc
16 changes: 8 additions & 8 deletions project/scripts/bootstrapCmdTests
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ set -e
source $(dirname $0)/cmdTestsCommon.inc.sh

# check that benchmarks can run
# "$SBT" "scala3-bench/jmh:run 1 1 tests/pos/alias.scala"
# # The above is here as it relies on the bootstrapped library.
# "$SBT" "scala3-bench-bootstrapped/jmh:run 1 1 tests/pos/alias.scala"
# "$SBT" "scala3-bench-bootstrapped/jmh:run 1 1 -with-compiler compiler/src/dotty/tools/dotc/core/Types.scala"
"$SBT" "scala3-bench/jmh:run 1 1 tests/pos/alias.scala"
# The above is here as it relies on the bootstrapped library.
"$SBT" "scala3-bench-bootstrapped/jmh:run 1 1 tests/pos/alias.scala"
"$SBT" "scala3-bench-bootstrapped/jmh:run 1 1 -with-compiler compiler/src/dotty/tools/dotc/core/Types.scala"

# echo "testing scala.quoted.Expr.run from sbt scala"
# "$SBT" ";scala3-compiler-bootstrapped/scalac -with-compiler tests/run-staging/quote-run.scala; scala3-compiler-bootstrapped/scala -with-compiler Test" > "$tmp"
# grep -qe "val a: scala.Int = 3" "$tmp"
echo "testing scala.quoted.Expr.run from sbt scala"
"$SBT" ";scala3-compiler-bootstrapped/scalac -with-compiler tests/run-staging/quote-run.scala; scala3-compiler-bootstrapped/scala -with-compiler Test" > "$tmp"
grep -qe "val a: scala.Int = 3" "$tmp"


# setup for `scalac`/`scala` script tests
# "$SBT" dist/pack
"$SBT" dist/pack

# check that `scalac` compiles and `scala` runs it
echo "testing ./bin/scalac and ./bin/scala"
Expand Down
2 changes: 1 addition & 1 deletion scaladoc/src/dotty/tools/scaladoc/ScaladocArgs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ object ScaladocArgs:
)

def defaultDest(): File =
report.error("Destenation is missing, please provide '-d' parameter pointing to directory here docs should be created")
report.error("Destination is not provided, please provide '-d' parameter pointing to directory where docs should be created")
File("output")

val parseSyntax = syntax.nonDefault.fold(CommentSyntax.default){ str =>
Expand Down

0 comments on commit 888ac94

Please sign in to comment.