Skip to content

Commit deaa7c1

Browse files
authored
avoid deprecated old sbt syntax (#1601)
1 parent b8632f4 commit deaa7c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Wrapping up your PR
7171
while working on this. Add the exclusions to `build.sbt`. Binary
7272
incompatibilities are expected when modifying `scalapb.proto` and in the
7373
meantime we have some tolerance for certain type of incompatabilities.
74-
* In SBT, run `scalafmt` and `test:scalafmt` to ensure the code compiles
74+
* In SBT, run `scalafmtAll` to ensure the code compiles
7575
cleanly.
7676
* Run `./make_plugin_proto.sh` to re-generate all the generated code that
7777
ships with ScalaPB.

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ inThisBuild(
1717
)
1818
)
1919

20-
addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
20+
addCommandAlias("fmt", "all scalafmtSbt scalafmtAll")
2121

2222
lazy val sharedNativeSettings = List(
2323
nativeLinkStubs := true // for utest

examples_and_formatting.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
set -e
33
./test_generated_code_checked_in.sh
44
for d in examples/*; do cd "$d" && sbt test && cd ../..; done
5-
sbt -J-Xmx4500M scalafmtCheck test:scalafmtCheck scalafmtSbtCheck
5+
sbt -J-Xmx4500M scalafmtCheckAll scalafmtSbtCheck

0 commit comments

Comments
 (0)