mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Use scalafmt's diff mode (#3654)
Limits the set of files scalafmt will run on to those in the git diff with master. This should greatly speed up language agnostic checks, especially for developers to test them before the contribution hits CI. Worth mentioning: we use scalafmt 1.5.x, scalafmt latest release is 2.2.x and the option is deprecated in favor of .
This commit is contained in:
parent
c199c20730
commit
7c3542fc1d
@ -5,4 +5,4 @@
|
||||
set -eu -o pipefail
|
||||
|
||||
cd "${0%/*}"
|
||||
scalafmt --git true --config .scalafmt.conf "$@"
|
||||
scalafmt --git true --diff --config .scalafmt.conf "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user