mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 10:25:51 +03:00
Better formatting
This commit is contained in:
parent
946fc36a26
commit
c57af9cf3e
1 changed files with 17 additions and 7 deletions
|
@ -42,29 +42,39 @@ Make sure the following commands execute without any error:
|
||||||
|
|
||||||
#### Internal tool
|
#### Internal tool
|
||||||
|
|
||||||
> ./tools/check/check_code_quality.sh
|
<pre>
|
||||||
|
./tools/check/check_code_quality.sh
|
||||||
|
</pre>
|
||||||
|
|
||||||
#### ktlint
|
#### ktlint
|
||||||
|
|
||||||
> curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.34.2/ktlint && chmod a+x ktlint
|
<pre>
|
||||||
> ./ktlint --android --experimental -v
|
curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.34.2/ktlint && chmod a+x ktlint
|
||||||
|
./ktlint --android --experimental -v
|
||||||
|
</pre>
|
||||||
|
|
||||||
Note that you can run
|
Note that you can run
|
||||||
|
|
||||||
> ./ktlint --android --experimental -v -F
|
<pre>
|
||||||
|
./ktlint --android --experimental -v -F
|
||||||
|
</pre>
|
||||||
|
|
||||||
For ktlint to fix some detected errors for you (you still have to check and commit the fix of course)
|
For ktlint to fix some detected errors for you (you still have to check and commit the fix of course)
|
||||||
|
|
||||||
#### lint
|
#### lint
|
||||||
|
|
||||||
> ./gradlew lintGplayRelease
|
<pre>
|
||||||
> ./gradlew lintFdroidRelease
|
./gradlew lintGplayRelease
|
||||||
|
./gradlew lintFdroidRelease
|
||||||
|
</pre>
|
||||||
|
|
||||||
### Unit tests
|
### Unit tests
|
||||||
|
|
||||||
Make sure the following commands execute without any error:
|
Make sure the following commands execute without any error:
|
||||||
|
|
||||||
> ./gradlew testGplayReleaseUnitTest
|
<pre>
|
||||||
|
./gradlew testGplayReleaseUnitTest
|
||||||
|
</pre>
|
||||||
|
|
||||||
### Tests
|
### Tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue