We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d4dfe6a + 871a6bd commit 381b485Copy full SHA for 381b485
api-reports/validate
@@ -1,14 +1,17 @@
1
#!/bin/bash
2
set -euo pipefail
3
-cd "$(dirname "$0")"
4
5
[ $# -ne 1 ] && echo "Usage: $0 <scala version>" && exit 1
6
+cd "$(dirname "$0")/.."
7
+sbt -DCI=1 "++$1" dom/scalafix
8
+
9
+cd "$(dirname "$0")"
10
series="${1%.*}"
11
file="${series/./_}.txt"
12
echo -n "Validating $file ... "
13
-help='Run `sbt +compile` and check in the differences to the '"$(basename "$0") directory"
14
+help='Run `sbt prePR` and check in the differences to the '"$(basename "$0") directory"
15
16
if [ ! -e "$file" ]; then
17
echo "file not found. $help"
0 commit comments