Skip to content

Commit

Permalink
avoid deprecated old sbt syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Oct 27, 2023
1 parent b8632f4 commit 76c5622
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Wrapping up your PR
while working on this. Add the exclusions to `build.sbt`. Binary
incompatibilities are expected when modifying `scalapb.proto` and in the
meantime we have some tolerance for certain type of incompatabilities.
* In SBT, run `scalafmt` and `test:scalafmt` to ensure the code compiles
* In SBT, run `scalafmtAll` to ensure the code compiles
cleanly.
* Run `./make_plugin_proto.sh` to re-generate all the generated code that
ships with ScalaPB.
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inThisBuild(
)
)

addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
addCommandAlias("fmt", "all scalafmtSbt scalafmtAll")

lazy val sharedNativeSettings = List(
nativeLinkStubs := true // for utest
Expand Down
2 changes: 1 addition & 1 deletion examples_and_formatting.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -e
./test_generated_code_checked_in.sh
for d in examples/*; do cd "$d" && sbt test && cd ../..; done
sbt -J-Xmx4500M scalafmtCheck test:scalafmtCheck scalafmtSbtCheck
sbt -J-Xmx4500M scalafmtCheckAll scalafmtSbtCheck

0 comments on commit 76c5622

Please sign in to comment.