Remove empty line and ensure check.sh script run ktlint.
This commit is contained in:
parent
3a5c6fbb5a
commit
cdcd5c2d5e
2 changed files with 3 additions and 1 deletions
|
|
@ -69,4 +69,3 @@ private fun <R : TestRule> AndroidComposeTestRule<R, ComponentActivity>.setRoomL
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@ set -e
|
||||||
# First run the quickest script
|
# First run the quickest script
|
||||||
./tools/check/check_code_quality.sh
|
./tools/check/check_code_quality.sh
|
||||||
|
|
||||||
|
# Check ktlint first
|
||||||
|
./gradlew ktlintCheck
|
||||||
|
|
||||||
# Build, test and check the project, with warning as errors
|
# Build, test and check the project, with warning as errors
|
||||||
# It also check that the minimal app is compiling.
|
# It also check that the minimal app is compiling.
|
||||||
./gradlew check -PallWarningsAsErrors=true
|
./gradlew check -PallWarningsAsErrors=true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue